Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerSpawn (playerid)
- {
- if (GetPlayerScore (playerid)> = 0 && GetPlayerScore (playerid) <= 2)
- {
- SetPlayerHealth (playerid, 100);
- GivePlayerWeapon(playerid, 25, 5000);
- SendClientMessage (playerid, COLOR_RED, "Ahora eres nivel 1");
- }
- if (GetPlayerScore (playerid)> = 2 && GetPlayerScore (playerid) <= 3)
- {
- SetPlayerHealth (playerid, 100);
- SetPlayerArmour (playerid, 50);
- GivePlayerWeapon(playerid, 29, 5000);
- SendClientMessage (playerid, COLOR_RED, "Ahora eres nivel 2");
- }
- if (GetPlayerScore (playerid)> = 4)
- {
- SetPlayerHealth (playerid, 100);
- SetPlayerArmour (playerid, 100);
- GivePlayerWeapon(playerid, 27, 5000);
- SendClientMessage (playerid, COLOR_RED, "Ahora eres nivel 3");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement