Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. YCMD:rac(playerid, params[], help)
  2. {
  3. #pragma unused help
  4. if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"SU:RP | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
  5. if(PlayerInfo[playerid][pAdmin] < 2) return SCM(playerid, -1, ""CRVENA"[SU:RP] "SIVA"Samo Admini (AL 2+)!");
  6. if(AdminDuty[playerid] == 0) return SCM(playerid,-1,""CRVENA"[SU:RP] "SIVA"Morate biti na admin duznosti!");
  7. if(RespawnVozila) return SCM(playerid, -1, ""CRVENA"[GRESKA] "BELA"Respawn je vec pokrenut!");
  8. new string[512]; RespawnVozila = 1;
  9. format(string,sizeof string, ""SPLAVA"<<< "SIVA"Admin %s je pokrenuo respawn vozila za 20 sec! "SPLAVA">>>", GetName(playerid));
  10. SendClientMessageToAll(-1, string);
  11. SendClientMessageToAll(-1, ""SPLAVA"<<< "SIVA"Udjite u svoje vozilo ukoliko zelite da ga zadrzite! "SPLAVA">>>");
  12. SetTimer("Respawn", 20000, false);
  13. return 1;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement