CreateDynamicObjectEx - worldids [+rep - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: CreateDynamicObjectEx - worldids [+rep (
/showthread.php?tid=589371)
CreateDynamicObjectEx - worldids [+rep -
simo0000 - 18.09.2015
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);
Re: CreateDynamicObjectEx - worldids [+rep -
rappy93 - 18.09.2015
Argument 11 is the "-1" after worlds.
Try putting -1 in {}.
Like this : { -1 }
Re: CreateDynamicObjectEx - worldids [+rep -
simo0000 - 18.09.2015
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
Re: CreateDynamicObjectEx - worldids [+rep -
rappy93 - 18.09.2015
Glad you fixed it. Cheers.