SA-MP Forums Archive
AttachPlayerObjectToPlayer. - 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: AttachPlayerObjectToPlayer. (/showthread.php?tid=120419)



AttachPlayerObjectToPlayer. - CaHbKo - 11.01.2010

Hi,

I have searched the forums for some information why it got removed, but didn't find any good explanation. I really need it because i create some drug effects, and they require to attach player objects to other players.
Maybe someone could explain why is it removed, and maybe tell if there is some scripted analog?

Thanks.


Re: AttachPlayerObjectToPlayer. - Correlli - 11.01.2010

It was probably causing some problems.

You can use AttachObjectToPlayer, but this is a global way.


Re: AttachPlayerObjectToPlayer. - CaHbKo - 11.01.2010

Quote:
Originally Posted by Don Correlli
It was probably causing some problems.

You can use AttachObjectToPlayer, but this is a global way.
Does AttachObjectToPlayer attach player objects? Because i got the object stored into an array, so i got the ID and stuff.


Re: AttachPlayerObjectToPlayer. - Correlli - 11.01.2010

No, it only attaches global objects.


Re: AttachPlayerObjectToPlayer. - CaHbKo - 11.01.2010

Quote:
Originally Posted by Don Correlli
No, it only attaches global objects.
Aww crap. Maybe you know if it's going to be added again?


Re: AttachPlayerObjectToPlayer. - Correlli - 11.01.2010

I don't know, try to ask any Beta Tester or Kye at the sa:mp IRC channel.


Re: AttachPlayerObjectToPlayer. - CaHbKo - 11.01.2010

Quote:
Originally Posted by Don Correlli
I don't know, try to ask any Beta Tester or Kye at the sa:mp IRC channel.
I will, thanks.