Again errors
#1

Код:
            	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.
Reply
#2

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
Reply
#3

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
Reply
#4

Quote:

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

try it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)