26.04.2017, 17:24
Heya guys!
I want to make my objects only appear in worlds 1-3000.
I know you can define a long list like this:
But that's a bit uh.. time consuming.
So I tried:
But when I add it like this:
it gives me: error 035: argument type mismatch (argument 8)
So, what am I doing wrong? Would appreciate some guidance towards the correct method here.
I want to make my objects only appear in worlds 1-3000.
I know you can define a long list like this:
Код:
new array[3000] = {1,2,3,4,5,6,7,8.....,3000};
So I tried:
PHP код:
for(new i;i<3000;i++)
{
array[i] = 1+i; //in order not to get world 0 here
}
PHP код:
CreateDynamicObjectEx(2395,480.5,-1829.79,53.50,270.0,0.58,0.8,array);
So, what am I doing wrong? Would appreciate some guidance towards the correct method here.