16.05.2015, 22:55
Hey,
I wannna create an object for 60 worlds only (1-60), I tried using CreateDynamicObjectEx but it doesn't work.
The function:
I tried replacing the worlds[] = {-1} in:
Both gives me an error.
Help?
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);
Код:
{1, 2, 3, 4, 5}
Код:
new worlds[] = {1,2,3,4,5}; .., worlds
Help?