error 006: must be assigned to an array(To array set string)
#3

Quote:
Originally Posted by Sinner
View Post
You can't declare strings like that.

Try:
pawn Code:
format(labeltext, sizeof(labeltext), "Stlacenim enter sa dostanete do editoru");
format(labelcolor, sizeof(labelcolor), "CERVENA");
No.
pawn Code:
new labeltext[15][128];
new labelcolor[15][128];
labeltext[id] = "Stlacenim enter sa dostanete do editoru";//error 006: must be assigned to an array
labelcolor[id] = "CERVENA";//error 006: must be assigned to an array
Reply


Messages In This Thread
error 006: must be assigned to an array(To array set string) - by gamelaster - 01.02.2012, 20:10
Re: error 006: must be assigned to an array(To array set string) - by Sinner - 01.02.2012, 20:40
Re: error 006: must be assigned to an array(To array set string) - by FireCat - 01.02.2012, 20:47
Re: error 006: must be assigned to an array(To array set string) - by RyDeR` - 01.02.2012, 20:51
Re: error 006: must be assigned to an array(To array set string) - by gamelaster - 02.02.2012, 04:25

Forum Jump:


Users browsing this thread: 2 Guest(s)