[Tutorial] How to make a basic admin command.
#10

Quote:
Originally Posted by [Full]Garfield[XDB]
View Post
Or
pawn Code:
if(IsPlayerAdmin(playerid)) return 0;
Ps, Very Good Tut's.
So that means, that if a player is logged in as RCON, he can't use the command: return 0;
Don't you mean

pawn Code:
if(IsPlayerAdmin(playerid)){
//code
}else return 0;
Or

pawn Code:
if(!IsPlayerAdmin(playerid)) return 0;
Reply


Messages In This Thread
How to make a basic admin command. - by Lorenc_ - 02.11.2010, 05:21
Re: How to make a basic admin command. - by MBX97 - 02.11.2010, 21:30
Re: How to make a basic admin command. - by Bessensap - 02.11.2010, 22:27
Re: How to make a basic admin command. - by zSuYaNw - 03.11.2010, 13:46
Re: How to make a basic admin command. - by HyperZ - 03.11.2010, 14:42
Re: How to make a basic admin command. - by hadzx - 03.11.2010, 14:43
Re: How to make a basic admin command. - by Hiddos - 03.11.2010, 20:14
Re: How to make a basic admin command. - by Lorenc_ - 04.11.2010, 05:34
Re: How to make a basic admin command. - by blackwave - 04.11.2010, 21:10
Re: How to make a basic admin command. - by Kwarde - 05.11.2010, 15:17

Forum Jump:


Users browsing this thread: 1 Guest(s)