Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:bonus(playerid, params[])
- {
- if(LogatPin[playerid] == 0) return SCM(playerid, -1, "Contul tau este {ff0000}blocat{ffffff}, foloseste {ff0000}/pin{ffffff} pentru a-l debloca");
- if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_YELLOW, "You need to login first.");
- if(IsPlayerConnected(playerid))
- {
- if(PlayerInfo[playerid][pLevel] > 3)
- {
- GivePlayerCash(playerid, 15000000);
- PlayerInfo[playerid][pLevel] = 5;
- PlayerInfo[playerid][pPremiumPoints] += 50;
- // PlayerInfo[playerid][pBonus] = 1;
- PlayerInfo[playerid][pCarLic] = 1;
- PlayerInfo[playerid][pCarLicT] = 100;
- PlayerInfo[playerid][pFlyLic] = 1;
- PlayerInfo[playerid][pFlyLicT] = 100;
- PlayerInfo[playerid][pBoatLic] = 1;
- PlayerInfo[playerid][pBoatLicT] = 100;
- PlayerInfo[playerid][pGunLic] = 1;
- PlayerInfo[playerid][pGunLicT] = 100;
- Update(playerid, pLevelx);
- Update(playerid, pCashx);
- Update(playerid, pPremiumPointsx);
- // Update(playerid, pBonusx);
- SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
- ShowPlayerDialog(playerid, 3354, DIALOG_STYLE_MSGBOX, "{ffffff}Server Bonus {ffffff}| {00FFFF}FOREVER{ffffff} |", "{ffffff}Ai folosit comanda {00FFFF}/bonus{ffffff} si ai primit:\n {00FFFF}-{ffffff} Level {00FFFF}5\n -{ffffff} 15.000.000{33cc33}$\n {00FFFF}-{ffffff} 50 Puncte {ffff00}Premium\n -{ffffff} Toate licentele timp de 100 {00FFFF}[ORE]","{ffffff}Multumesc","");
- }
- else return SCM(playerid, -1, "Deja ai primit bonusul.");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement