SA-MP Forums Archive
whats wrong with this? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: whats wrong with this? (/showthread.php?tid=257069)



whats wrong with this? - CrazyBlob - 23.05.2011

Код:
dini_IntSet(file, "IP",PlayerInfo[playerid][pIP] = GetPlayerIp(playerid, plrIP, sizeof(plrIP));
and i get this warning??

Код:
C:\Users\**********\Desktop\************\gamemodes\ctV2.pwn(2508) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: whats wrong with this? - TheGarfield - 23.05.2011

pawn Код:
dini_IntSet(file, "IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));
or


pawn Код:
dini_Set(file, "IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));

-rsrs.


Re: whats wrong with this? - CrazyBlob - 23.05.2011

Quote:
Originally Posted by TheGarfield
Посмотреть сообщение
[pawn]
dini_IntSet(file, "IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));
[pawn]

or


pawn Код:
dini_Set(file, "IP",GetPlayerIp(playerid, plrIP, sizeof(plrIP));

-rsrs.
ty but i fixed it but nyways ty