CreateDynamicObjectEx - worldids [+rep
#1

hey guys i need help to make an object for some worlds but i got error
pawn Код:
error 035: argument type mismatch (argument 11)
pawn Код:
new worlds[5] = {0,1,2,3,4};
       
CreateDynamicObjectEx(model, pos[0], pos[1], pos[2], pos[3], pos[4], pos[5], GLOBAL_OBJECTS_DISTANCE, 200.0, worlds, -1, -1, -1);
Reply
#2

Argument 11 is the "-1" after worlds.

Try putting -1 in {}.

Like this : { -1 }
Reply
#3

Quote:
Originally Posted by rappy93
Посмотреть сообщение
Argument 11 is the "-1" after worlds.

Try putting -1 in {}.

Like this : { -1 }
Edit: Fixed i added {} to the argument 12 thnx +reped
Reply
#4

Glad you fixed it. Cheers.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)