How to make a commands to requre /rcon login ?
#3

Are you using a command processor like zcmd or strcmp
Ill give you a god mode cmd using zcmd to help you
pawn Код:
CMD:godmode(pid,params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You need to be an RCON administrator to use this command!");// if player is not RCON admin sends him this message else executes the code.
{
SetPlayerHealth(pid, 999999);
SendClientMessage(pid, -1,"God Mode {00FF00}On");
}
return 1;
}
Reply


Messages In This Thread
How to make a commands to requre /rcon login ? - by bustern - 07.08.2013, 12:01
Re: How to make a commands to requre /rcon login ? - by -Prodigy- - 07.08.2013, 12:32
Re: How to make a commands to requre /rcon login ? - by kingofdemons - 07.08.2013, 15:15
Re: How to make a commands to requre /rcon login ? - by Amel_PAtomAXx - 07.08.2013, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)