Advertisement
Guest User

Untitled

a guest
Aug 25th, 2015
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. forward unfreze(playerid);
  2. public OnPlayerSpawn(playerid)
  3. {
  4. new Ranga = RangaAdmina[playerid];
  5. WczytajGracza(playerid);
  6. new Pozycja = random(sizeof(PosSpawnu));
  7. SetPlayerPos(playerid, PosSpawnu[Pozycja][0], PosSpawnu[Pozycja][1], PosSpawnu[Pozycja][2]+1);
  8. TogglePlayerControllable(playerid, 0);
  9. SetTimerEx("unfreze", 2000, false, "i", playerid);
  10. if(Ranga == 0)
  11. {
  12. return 1;
  13. }
  14. if(Ranga == 1)
  15. {
  16. return 1;
  17. }
  18. if(Ranga == 2)
  19. {
  20. return 1;
  21. }
  22. if(Ranga == 3)
  23. {
  24. return 1;
  25. }
  26. if(Ranga == 4)
  27. {
  28. return 1;
  29. }
  30. return 1;
  31. }
  32. public unfreze(playerid)
  33. {
  34. TogglePlayerControllable(playerid, 1);
  35. return 1;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement