Small question(s)
#6

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.
Reply


Messages In This Thread
Small question(s) - by FrostDoggy - 01.09.2011, 17:33
Re: Small question(s) - by PhoenixB - 01.09.2011, 17:37
Re: Small question(s) - by RyDeR` - 01.09.2011, 17:37
Re: Small question(s) - by [MWR]Blood - 01.09.2011, 17:37
Re: Small question(s) - by Kwarde - 01.09.2011, 17:39
Re: Small question(s) - by [MWR]Blood - 01.09.2011, 17:41

Forum Jump:


Users browsing this thread: 1 Guest(s)