CreateDynamicObjectEx - worldids
#1

Hey,

I wannna create an object for 60 worlds only (1-60), I tried using CreateDynamicObjectEx but it doesn't work.
The function:
Код:
CreateDynamicObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:drawdistance = 0.0, Float:streamdistance = 200.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
I tried replacing the worlds[] = {-1} in:
Код:
{1, 2, 3, 4, 5}
Код:
new worlds[] = {1,2,3,4,5};   .., worlds
Both gives me an error.
Help?
Reply


Messages In This Thread
CreateDynamicObjectEx - worldids - by ranme15 - 16.05.2015, 22:55
Re: CreateDynamicObjectEx - worldids - by Jefff - 16.05.2015, 23:54
Re: CreateDynamicObjectEx - worldids - by ranme15 - 16.05.2015, 23:59
Re: CreateDynamicObjectEx - worldids - by Jefff - 17.05.2015, 00:01
Re: CreateDynamicObjectEx - worldids - by ranme15 - 17.05.2015, 00:02
Re: CreateDynamicObjectEx - worldids - by Jefff - 17.05.2015, 00:06
Re: CreateDynamicObjectEx - worldids - by ranme15 - 17.05.2015, 00:21

Forum Jump:


Users browsing this thread: 4 Guest(s)