Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- COMMAND:gmx(playerid, params[])
- {
- if(PlayerInfo[playerid][pAdmin] != 1337) return SendClientMessage(playerid, COLOR_GRAD1, "{00B1F7}[BS]: {FFFFFF}Niste ovlasteni da bi ste koristili ovu komandu.");
- SendClientMessage(playerid, COLOR_GRAD1, "{00B1F7}[BS]: {FFFFFF}Admin je pokrenuo restart servera, on ce se odrzati za 10 sekundi.");
- SetTimer("GlobalniTajmer", 1000, 0);
- return true;
- }
- public GlobalniTajmer()
- {
- SendRconCommand("gmx");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement