Value from array is not number?
#1

Hi!

This is my array:

Код:
new Tuning_SpoilerData[][][] = {
{"Spoiler 1",200,1164},{"Spoiler 2",300,1163},{"Spoiler 3",400,1162}
};
I want to use the third value from array (as you can see it's integer) for object number. The problem is here:

Код:
		new ObjectID = CreateDynamicObject(Tuning_SpoilerData[row][2],0.0,0.0,0.0,0.0,0.0,0.0);
This line give me this error:

Код:
C:\Users\blabla\Desktop\CrazyStunts\gamemodes\CrazyStunts.pwn(613) : error 035: argument type mismatch (argument 1)
How to fix this?
Reply


Messages In This Thread
Value from array is not number? - by Killer#Mummy - 28.07.2012, 17:08
Re: Value from array is not number? - by ReVo_ - 28.07.2012, 17:23
Re: Value from array is not number? - by leonardo1434 - 28.07.2012, 17:28
Re: Value from array is not number? - by Killer#Mummy - 28.07.2012, 17:33

Forum Jump:


Users browsing this thread: 1 Guest(s)