Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. CMD:bonus(playerid, params[])
  2. {
  3. if(PlayerInfo[playerid][pLevel] < 2)
  4. {
  5. PlayerInfo[playerid][pCash] += 30000000;
  6. PlayerInfo[playerid][pPremiumPoints] += 300;
  7. PlayerInfo[playerid][pLevel] += 3;
  8. Update(playerid, pCashx);
  9. Update(playerid, pPremiumPointsx);
  10. Update(playerid, pLevelx);
  11. SendClientMessage(playerid, COLOR_RED, "Ai folosit comanda /bonus si ai primit $%d, %d Puncte premium si level %d");
  12. }
  13. return 1;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement