Quote:
Originally Posted by Kwarde
EDIT:
Omg 3 guys beat me xD
Use the 'IsPlayerAdmin(playerid)':
pawn Код:
if(strcmp(cmdtext, "/h2", true) == 0) { if(!IsPlayerAdmin(playerid)) return 0; //Return a 'SERVER: Unknown command' (or user defined if you did that) if the player's not an admin MoveObject(GateH,-1770.56152344,984.83020020,25.154365545, 3); return 1; }
Single player clock can be turned on/off with TogglePlayerClock(playerid, toggle);
|
Lol, I completely forgot about that function.