23.06.2009, 09:04
Hi, again a problem with a stock. This code:
Errors:
How does this come?
pawn Код:
//OnPlayerConnect
if(!strcmp(PlayerIP(playerid), "127.0.0.1", true)){SetPlayerName(playerid, "[SX]Remi[A]");} //rule 606
//somewhere at the bottom
stock PlayerIP(playerid)
{
new ip[16];
GetPlayerIp(playerid, ip, sizeof(ip));
return ip;
}
Код:
L:\gamemodes\SX.pwn(606) : error 012: invalid function call, not a valid address L:\gamemodes\SX.pwn(606) : warning 215: expression has no effect L:\gamemodes\SX.pwn(606) : error 001: expected token: ";", but found ")" L:\gamemodes\SX.pwn(606) : error 029: invalid expression, assumed zero L:\gamemodes\SX.pwn(606) : fatal error 107: too many error messages on one line