Function GetPlayerIp help please
#2

pawn Код:
// get the IP first
new
    sz_Ip[ 16 ]
;
GetPlayerIp( playerid, sz_Ip, 16 );

// create the file and write the ip into the file:
INI_WriteString( File, "IP", sz_Ip );
Ip is not an integer but a string.

EDIT: Replace the INI_WriteInt with INI_WriteString too.
Reply


Messages In This Thread
Function GetPlayerIp help please - by Riwerry - 06.11.2013, 11:43
Re: Function GetPlayerIp help please - by Konstantinos - 06.11.2013, 11:55
Re: Function GetPlayerIp help please - by Riwerry - 06.11.2013, 11:56
Re: Function GetPlayerIp help please - by Konstantinos - 06.11.2013, 12:03
Re: Function GetPlayerIp help please - by Riwerry - 06.11.2013, 12:05
Re: Function GetPlayerIp help please - by Riwerry - 06.11.2013, 12:18
Re: Function GetPlayerIp help please - by Konstantinos - 06.11.2013, 12:20
Re: Function GetPlayerIp help please - by Riwerry - 06.11.2013, 12:26
Re: Function GetPlayerIp help please - by Konstantinos - 06.11.2013, 12:30
Re: Function GetPlayerIp help please - by Riwerry - 06.11.2013, 12:34

Forum Jump:


Users browsing this thread: 1 Guest(s)