22.01.2011, 15:51
Hello,
I have a small problem with storing an IP. I am having the error "Mustb e assigned to an array". I tried multiple things to fix this, but it didn't work out.
This is the code I am using at the moment:
The error is at this line, ofcourse:
Thank you for reading and I hope you can help me.
I have a small problem with storing an IP. I am having the error "Mustb e assigned to an array". I tried multiple things to fix this, but it didn't work out.
This is the code I am using at the moment:
pawn Код:
new ReconnectIP[MAX_PLAYERS];
GetPlayerIp(playerid, PlayerIP, sizeof(PlayerIP));
format(IP2, sizeof(IP2), "%s", PlayerIP);
ReconnectIP[playerid] = IP2;
Код:
ReconnectIP[playerid] = IP2;