20.02.2013, 16:43
I'm surprised this didn't give you an error...
Use strcpy to do that- it's probably what's causing this problem.
Personally, I just call GetPlayerIp() under OnPlayerConnect and store it into a PVar. It's not like their IP is going to change while they're connected to the server.
pawn Код:
pInfo[playerid][pIP] = playerip;
pawn Код:
#define strcpy(%0,%1) \
strcat((%0[0] = '\0', %0), %1)