error 006: must be assigned to an array
#2

Ip is a string not a number.

pawn Код:
P[playerid][IP] = ip;//not allowed
pawn Код:
strcat(P[playerid][IP], ip, 16);//allowed
EDIT: Even better still...
pawn Код:
mysql_fetch_field("ip", P[playerid][IP]);
Reply


Messages In This Thread
error 006: must be assigned to an array - by TheDeath - 25.04.2013, 09:30
Re: error 006: must be assigned to an array - by iggy1 - 25.04.2013, 09:32
Re: error 006: must be assigned to an array - by TheDeath - 25.04.2013, 09:36
Re: error 006: must be assigned to an array - by iggy1 - 25.04.2013, 09:45

Forum Jump:


Users browsing this thread: 2 Guest(s)