Hello,
was ist an diesem System falsch.
public OnRconLoginAttempt(ip[], password[], success)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
new pip[16], string[20];
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true))
{
if(!isPlayerAnAdmin(i,1))return SendClientMessage(i,"[Server]Es wird versucht sich unautorisiert in das RCON System zu hacken.");
SaveLog("Rcon-Logins" string);
}
}
return 1;
}
Code
C:\Users\Patrick\Desktop\IRP-City\gamemodes\IRP-City.pwn(1085) : error 035: argument type mismatch (argument 2)
C:\Users\Patrick\Desktop\IRP-City\gamemodes\IRP-City.pwn(1086) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Patrick\Desktop\IRP-City\gamemodes\IRP-City.pwn(1086) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\IRP-City\gamemodes\IRP-City.pwn(1086) : error 001: expected token: ";", but found ")"
C:\Users\Patrick\Desktop\IRP-City\gamemodes\IRP-City.pwn(1086) : error 029: invalid expression, assumed zero
C:\Users\Patrick\Desktop\IRP-City\gamemodes\IRP-City.pwn(1086) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Alles anzeigen