Guest User

Problem

a guest
Dec 18th, 2017
117
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,"[CM]"CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
  5. if(PlayerInfo[playerid][pAdmin] >= 3) return SCM(playerid, -1, ""CRVENA"[CM]"SIVA"Samo Admini (AL 2+)!");
  6. if(AdminDuty[playerid] == 0) return SCM(playerid,-1,""CRVENA"[CM]"SIVA"Morate biti na admin duznosti!");
  7. if(RespawnVozila) return SCM(playerid, -1, ""CRVENA"ERROR: "BELA"Respawn je vec pokrenut!");
  8. new string[512]; RespawnVozila = 1;
  9. format(string,sizeof string, ""SPLAVA" "SIVA"Administrator "SPLAVA"%s "SIVA"je pokrenuo respawn vozila za 10 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", 10000, false);
  13. return 1;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment