11.06.2013, 12:47
Quote:
public OnRconCommand(cmd[]) and public OnRconLogginAttempt(ip[], password[], success)
|
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