Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.55 KB | None | 0 0
  1. COMMAND:gmx(playerid, params[])
  2. {
  3.                             if(PlayerInfo[playerid][pAdmin] != 1337) return SendClientMessage(playerid, COLOR_GRAD1, "{00B1F7}[BS]: {FFFFFF}Niste ovlasteni da bi ste koristili ovu komandu.");
  4.                             SendClientMessage(playerid, COLOR_GRAD1, "{00B1F7}[BS]: {FFFFFF}Admin je pokrenuo restart servera, on ce se odrzati za 10 sekundi.");
  5.                             SetTimer("GlobalniTajmer", 1000, 0);
  6.                             return true;
  7. }
  8.  
  9.  
  10. public GlobalniTajmer()
  11. {
  12.         SendRconCommand("gmx");
  13.         return 1;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement