Get Player Attached Object ID? - 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: Get Player Attached Object ID? (
/showthread.php?tid=362976)
Get Player Attached Object ID? -
Dragony92 - 26.07.2012
Is there any way to Get Player Attached Object ID and slot?
Re: Get Player Attached Object ID? -
Babul - 26.07.2012
theres no native to "get" the players' attached object. hence the returned values required for playerid, slot, position/rotation/scale for 3 axis - the best way is to create an enum for holding a playerid,objectid,slot,bone,PosX,Y,Y,RotX,Y,Z,Scal eX,Y,Z - and refer back when desired.
using a serversided variable for such things is better anyways, the ping/delay of recieving object related stuff would destrooy the fun @ editing them...