Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. public OnPlayerEnterCheckpoint(playerid)
  2. {
  3. if(pInfo[playerid][Postmanjob] == 1)
  4. {
  5. DisablePlayerCheckpoint(playerid);
  6. new rand = random(sizeof(PostmanCP));
  7. SetPlayerCheckpoint(playerid, PostmanCP[rand][0], PostmanCP[rand][1], PostmanCP[rand][2], 5.0);
  8. return 1;
  9. }
  10. if (pInfo[playerid][Pcp] == 5) return SendClientMessage(playerid, -1, "[ ! ] Uspesno ste zavrsili sa poslom.");
  11. return 1;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement