Advertisement
does_7

Untitled

Jan 28th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. public OnPlayerSpawn (playerid)
  2. {
  3. if (GetPlayerScore (playerid)> = 0 && GetPlayerScore (playerid) <= 2)
  4. {
  5. SetPlayerHealth (playerid, 100);
  6. GivePlayerWeapon(playerid, 25, 5000);
  7. SendClientMessage (playerid, COLOR_RED, "Ahora eres nivel 1");
  8. }
  9. if (GetPlayerScore (playerid)> = 2 && GetPlayerScore (playerid) <= 3)
  10. {
  11. SetPlayerHealth (playerid, 100);
  12. SetPlayerArmour (playerid, 50);
  13. GivePlayerWeapon(playerid, 29, 5000);
  14. SendClientMessage (playerid, COLOR_RED, "Ahora eres nivel 2");
  15. }
  16. if (GetPlayerScore (playerid)> = 4)
  17. {
  18. SetPlayerHealth (playerid, 100);
  19. SetPlayerArmour (playerid, 100);
  20. GivePlayerWeapon(playerid, 27, 5000);
  21. SendClientMessage (playerid, COLOR_RED, "Ahora eres nivel 3");
  22. }
  23. return 1;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement