06.04.2018, 00:24
hi, i use custom function for get player ip
but, after i input
and i got error
so?what solution? but dont make custom function lost?
PHP код:
stock GetIP(playerid) // 419
{
new ips[20];
GetPlayerIp(playerid, ips, sizeof(ips)); // 422
return ips;
}
PHP код:
#include <YSI\y_timers>
PHP код:
project.pwn(419) : error 001: expected token: "-identifier-", but found "("
project.pwn(422) : error 021: symbol already defined: "GetPlayerIp"
project.pwn(423) : error 010: invalid function or declaration
project.pwn(431) : warning 203: symbol is never used: "ips"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase