SA-MP Forums Archive
Again errors - 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)
+--- Thread: Again errors (/showthread.php?tid=481938)



Again errors - boomerboom - 18.12.2013

Код:
            	new ip;
                GetPlayerIp(playerid,ip,sizeof(ip));
                dini_Set(file,"IP",ip);
Код:
C:\Users\***\Desktop\SAMP\filterscripts\Untitled.pwn(299) : error 035: argument type mismatch (argument 2)
C:\Users\***\Desktop\SAMP\filterscripts\Untitled.pwn(299) : error 035: argument type mismatch (argument 2)
C:\Users\***\Desktop\SAMP\filterscripts\Untitled.pwn(300) : error 035: argument type mismatch (argument 3)
C:\Users\***\Desktop\SAMP\filterscripts\Untitled.pwn(298) : warning 203: symbol is never used: "ip"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.



Re: Again errors - Hybris - 18.12.2013

May I see your ip related defines?
and for the warning 203: symbol is never used: "ip"
try adding new ip[MAX_PLAYERS]; where your variables are


Re: Again errors - boomerboom - 18.12.2013

Quote:
Originally Posted by Hybris
Посмотреть сообщение
May I see your ip related defines?
and for the warning 203: symbol is never used: "ip"
try adding new ip[MAX_PLAYERS]; where your variables are
There are non


Re: Again errors - Danyal - 18.12.2013

Quote:

new ip[16];
GetPlayerIp(playerid,ip,sizeof(ip));
dini_Set(file,"IP",ip);

try it