Confused..
#1

Well, I'm trying to add a IP writing on my register/login system, but i keep getting these errors:

Код:
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 ";"
Lines(IN ORDER)
1374:
pawn Код:
//OnPlayerDisconnect
    INI_WriteInt(File,"IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));
2064:
pawn Код:
//Register dialog
                    INI_WriteInt(File,"IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));
3074:
pawn Код:
//savestats command
    INI_WriteInt(File,"IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));
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?
Reply


Messages In This Thread
Confused.. - by Kyance - 12.12.2013, 16:13
Re: Confused.. - by Wizzy951 - 12.12.2013, 16:37
Re: Confused.. - by Kyance - 12.12.2013, 17:07
Re: Confused.. - by Wizzy951 - 12.12.2013, 17:10
Re: Confused.. - by Jessyy - 12.12.2013, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)