Saving A Players IP
#1

i need help with saving a players ip as i am getting codes that are making no sense at all

Код:
new playerip[16];
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
GetPlayerIP(playerid, playerip, sizeof(playerip));
format(pfile, sizeof(pfile), "/Users/%s.txt", pname);
dini_IntSet(pfile, "IP", playerip);
and i am getting these errors

Код:
D:\...\filterscripts\DeAdmin.pwn(125) : error 017: undefined symbol "GetPlayerIP"
D:\...\filterscripts\DeAdmin.pwn(125) : warning 202: number of arguments does not match definition
D:\...\filterscripts\DeAdmin.pwn(127) : error 035: argument type mismatch (argument 3)
Reply


Messages In This Thread
Saving A Players IP - by BLAbla93 - 23.05.2010, 01:32
Re: Saving A Players IP - by [HiC]TheKiller - 23.05.2010, 01:36
Re: Saving A Players IP - by coole210 - 23.05.2010, 02:37
Re: Saving A Players IP - FIXED - by BLAbla93 - 23.05.2010, 03:03

Forum Jump:


Users browsing this thread: 1 Guest(s)