: error 028: invalid subscript
#1

Код:
: error 028: invalid subscript (not an array or too many subscripts): "IP"
: error 001: expected token: ";", but found "]"
: error 029: invalid expression, assumed zero
: fatal error 107: too many error messages on one line
The error is on the middle line:

Код:
        new IP[2][16];
        mysql_fetch_field_row(IP[0],"IP");
        GetPlayerIp(playerid, IP[1], 16);
Reply
#2

Quote:

mysql_fetch_field_row(IP[0],"IP");

not quite sure but i think u cant use arrays in that.
try defining one as IP1 and the other as IP2. ( i mean instead of IP[2] )
PM me if it still gives an error.
dont see any other issue tbh
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)