SA-MP Forums Archive
Attaching dynamic objects. - 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: Attaching dynamic objects. (/showthread.php?tid=429919)



Attaching dynamic objects. - justinnater - 11.04.2013

Hey, I am just going to throw this one out real quickly.

Is there actually any default function from the incognito's streamer to attach a object to another one?

Thanks in advance!


Re: Attaching dynamic objects. - MP2 - 11.04.2013

No, because there isn't a native samp function to attach a player-object to another. You'll have to use global objects.


Re: Attaching dynamic objects. - justinnater - 11.04.2013

I am not talking about player-objects. I basically want to attach a 'CreateDynamicObject' to another 'CreateDynamicObject'. But from what I've seen so far there dosn't seems to be any native function for it.

Thanks for your quick reply though.


Re: Attaching dynamic objects. - MP2 - 11.04.2013

Dynamic or 'streamed' objects use per-player objects (objects only created for one player) to bypass the object limit by only creating objects for players who are within a certain distance of the object, therefore you need per-player object functions if you want streamed-object functions.