SA-MP Forums Archive
Trouble getting an object to appear in multiple virtual worlds. - 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: Trouble getting an object to appear in multiple virtual worlds. (/showthread.php?tid=645125)



Trouble getting an object to appear in multiple virtual worlds. - Stefhan - 20.11.2017

I have this code below:

Код:
	for(new i = 1; i < 4; i++)
	{
	CreateDynamicObject(1506, 1313.68884, -1332.89209, 28.22197,   0.00000, 0.00000, 0.00000, i);
        }
When compiling, I get this error:

Код:
warning 202: number of arguments does not match definition
I'm trying to make the object in question appear in world 1, 2 and 3.


Re: Trouble getting an object to appear in multiple virtual worlds. - Logic_ - 20.11.2017

Are you sure that problem is coming from that line? Recheck it, what have you got above that code?


Re: Trouble getting an object to appear in multiple virtual worlds. - Stefhan - 20.11.2017

Yeah, it wasn't. I oversaw something. It's fixed. Thanks