Previous IP saving
#5

Код:
new plrIP[MAX_PLAYERS][20];

// save stats
format(query,sizeof(query),"UPDATE `players` SET `ip`='%s'",plrIP[playerid]);

// load stats
GetPlayerIp(playerid, plrIP[playerid], 20);

Note: IP is a varchar. so, set your field to be varchar 20.
Reply


Messages In This Thread
Previous IP saving - by yvoms - 11.01.2016, 20:35
Re: Previous IP saving - by itsCody - 11.01.2016, 20:47
Re: Previous IP saving - by yvoms - 11.01.2016, 21:29
Re: Previous IP saving - by AmigaBlizzard - 11.01.2016, 21:51
Re: Previous IP saving - by justice96 - 11.01.2016, 22:27
Re: Previous IP saving - by yvoms - 12.01.2016, 09:28

Forum Jump:


Users browsing this thread: 1 Guest(s)