Hello. Please help me with Y_Ini error.
#1

Hello. I want to be quick. So i wrote a row which should read IP from my text file, but i get this error.

Quote:

warning 202: number of arguments does not match definition
error 035: argument type mismatch (argument 2)

Код:
INI_Open(PlayerFile);
GetPlayerIp(playerid, PlayerIP, sizeof(PlayerIP));
if(!strcmp(PlayerIP, INI_ReadString("IP"))) // THIS LINE
{

}
thanks for help!
Reply
#2

try
pawn Код:
if(!strcmp(PlayerIP, INI_ReadString(PlayerIP,"PlayerIP",16))) // THIS LINE
{
//code
}
Reply
#3

does not work

Quote:

error 035: argument type mismatch (argument 2)

Reply
#4

Remove 16 from code then try like
pawn Код:
if(!strcmp(PlayerIP, INI_ReadString(PlayerIP,"PlayerIP"))) // THIS LINE
{
//code
}
Reply
#5

Quote:

error 035: argument type mismatch (argument 2)

the same..
Reply
#6

BUMP. I really need this to be fixed.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)