error 033: array must be indexed
#8

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
You understood me wrong (as I explained wrong). I meant you can't just do 'new strng[50] = "blahblah";'. If you do that, the string you enter needs to be exactly the size you declared as [50]...

Код:
if(PlayerInfo[playerid][Class1] == "1")
And about that statement... Use strcmp.

pawn Код:
if(!strcmp(PlayerInfo[playerid][Class1],"1",false))
Thanks man, if(!strcmp(PlayerInfo[playerid][Class1],"1",false)) worked
Reply


Messages In This Thread
error 033: array must be indexed - by DaneAMattie - 21.02.2011, 13:54
Re: error 033: array must be indexed - by DaneAMattie - 21.02.2011, 14:45
Re: error 033: array must be indexed - by DaneAMattie - 21.02.2011, 15:07
Re: error 033: array must be indexed - by Jochemd - 21.02.2011, 15:09
Re: error 033: array must be indexed - by Calgon - 21.02.2011, 15:12
Re: error 033: array must be indexed - by DaneAMattie - 21.02.2011, 15:19
Re: error 033: array must be indexed - by Jochemd - 21.02.2011, 15:33
Re: error 033: array must be indexed - by DaneAMattie - 21.02.2011, 16:02
Re: error 033: array must be indexed - by Jochemd - 21.02.2011, 16:06

Forum Jump:


Users browsing this thread: 5 Guest(s)