[HELP] Is player rcon admin HELP ME = REP+
#3

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
public OnRconCommand(cmd[]) and public OnRconLogginAttempt(ip[], password[], success)
i tries that..

This is the code i used...
public OnRconCommand(cmd[])
{
if(IsPlayerAdmin(playerid)
{

else
SendClientMessage(playerid, 0xFFFFFFFF, "RCON: You are not a Rcon admin");
}
return 1;
}

This is the errors i get
C:\Users\Ronaldo\Desktop\Stuff\Freeroam Server\gamemodes\dm3.pwn(204) : error 017: undefined symbol "playerid"
C:\Users\Ronaldo\Desktop\Stuff\Freeroam Server\gamemodes\dm3.pwn(207) : error 029: invalid expression, assumed zero
C:\Users\Ronaldo\Desktop\Stuff\Freeroam Server\gamemodes\dm3.pwn(20 : warning 217: loose indentation
C:\Users\Ronaldo\Desktop\Stuff\Freeroam Server\gamemodes\dm3.pwn(20 : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

Please help
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)