12.12.2013, 16:13
Well, I'm trying to add a IP writing on my register/login system, but i keep getting these errors:
Lines(IN ORDER)
1374:
2064:
3074:
I copy-pasted this from the wiki, should i make it into a string?
like " format(string, sizeof(string), "%d", plrIP); "
or something like that?
Код:
test.pwn(1374) : error 001: expected token: ",", but found ";" test.pwn(2064) : error 001: expected token: ",", but found ";" test.pwn(3074) : error 001: expected token: ",", but found ";"
1374:
pawn Код:
//OnPlayerDisconnect
INI_WriteInt(File,"IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));
pawn Код:
//Register dialog
INI_WriteInt(File,"IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));
pawn Код:
//savestats command
INI_WriteInt(File,"IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));
like " format(string, sizeof(string), "%d", plrIP); "
or something like that?