28.03.2009, 18:54
I am trying to get the players IP to save to his player file.
There's my code, it just saves the first part of the players IP.
For example if my IP was 92.46.436.21
It would save IP as
Anyone any ideas ?
pawn Код:
new pIp[20];
GetPlayerIp(playerid, pIp, sizeof(pIp));
dUserSetINT(PlayerName(playerid)).("IP", strval(pIp) );
For example if my IP was 92.46.436.21
It would save IP as
Код:
IP = 92