Hmm help needed
#1

Any ideas why this wont work?

pawn Код:
new plrIP[16];
GetPlayerIp(playerid, plrIP, sizeof(plrIP));
(line 1048)INI_WriteInt(File,"IP",plrIP);
I get this error:
Код:
D:\oProject\gamemodes\LSTDM.pwn(1048) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Thanks in advance!
Reply
#2

INI_WriteInt is for writing integer values (WriteInteger), you are trying to write a string therefore you need to use the appropriate function for that, which I believe is INI_WriteString.
Reply
#3

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)