Comanda [/bonus] simpla, cand folosesti comanda /bonus iti da toate licentele timp de 5 ore.



CMD:bonus(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pLevel] <= 1)
{
GivePlayerCash(playerid, 50000000);
PlayerInfo[playerid][pLevel] = 5;
PlayerInfo[playerid][pPremiumPoints] = 100;
PlayerInfo[playerid][pCarLic] = 1;
PlayerInfo[playerid][pCarLicT] = 5;
PlayerInfo[playerid][pFlyLic] = 1;
PlayerInfo[playerid][pFlyLicT] = 5;
PlayerInfo[playerid][pBoatLic] = 1;
PlayerInfo[playerid][pBoatLicT] = 5;
PlayerInfo[playerid][pGunLic] = 1;
PlayerInfo[playerid][pGunLicT] = 5;
SetPlayerScore(playerid, 5);
Update(playerid, pCashx);
UpdateProgress(playerid, 0);
Update(playerid, pLevelx);
Update(playerid, pPremiumPointsx);
Update(playerid,pConnectTimex);
SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit $50,000,000 - Acum poti sa iti iei masina!");
SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit toate licentele timp de 5 ore [/licenses]");
SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit 100 Premium Points - Acum poti da /shop");
SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit Level 5");

}
else return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu poti folosi aceasta comanda daca ai level 5+ !");
}
return 1;
}