CreateDynamicObjectEx - hide only from world 0?
#1

Heya guys!

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};
But that's a bit uh.. time consuming.

So I tried:

PHP код:
for(new i;i<3000;i++)
{
    array[
i] = 1+i//in order not to get world 0 here

But when I add it like this:
PHP код:
CreateDynamicObjectEx(2395,480.5,-1829.79,53.50,270.0,0.58,0.8,array); 
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.
Reply
#2

R.e.m.o.v.e.d
Reply
#3

You want me to have 1040+ objects made 3k times? Well, that's not a really good solution to it.

(Considering I understood it correctly.)
I don't know if the Ex function does the same as you suggested above?
Reply
#4

You should see how CreateDynamicObjectEx looks in include because argument 8 is not array
Reply
#5

Oh that was the stream distance. My bad-

Fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)