Attach Object to closest player - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Attach Object to closest player (
/showthread.php?tid=112897)
Attach Object to closest player -
Oi! - 11.12.2009
I was wondering if someone could help me. So basically what I want is a few objects that follow people around, the object will attach itself to the closest player to it. Now, how can I make this possible? Can any of you help me?
Re: Attach Object to closes player -
Snyper18 - 11.12.2009
This should help.
https://sampwiki.blast.hk/wiki/AttachPlayerObjectToPlayer
Re: Attach Object to closes player -
[HiC]TheKiller - 11.12.2009
Quote:
Originally Posted by Bruzer18
|
It would be better using
https://sampwiki.blast.hk/wiki/AttachObjectToPlayer
Re: Attach Object to closes player -
Oi! - 11.12.2009
Quote:
Originally Posted by [HiC
|
That's literally the same thing that guy just posted, stop trying to double your posts.
Re: Attach Object to closes player -
Kurence - 11.12.2009
No it is not the same thing - AttachPlayerObjectToPlayer was removed in samp 0.3
Re: Attach Object to closes player -
Oi! - 11.12.2009
Oh I see, alright, I'm still trying to figure this out, so... Would I have the object just spawn in a random place? Because I want it to move around and follow people. And I want it to talk haha.