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



SetPlayerAttachObject - Greaper - 07.01.2014

Can anyone give me a code of Chainsaw in right hand


Re: SetPlayerAttachObject - offon - 07.01.2014

Weapons can't be changed to be equiped in the other hand. Anyway, if you attach it (if a chainsaw object exists) it won't function as a weapon, so you won't be able do inflict damage.

https://sampwiki.blast.hk/wiki/AttachObjectToPlayer


Re: SetPlayerAttachObject - RedFusion - 07.01.2014

SetPlayerAttachedObject would be a better choice as you can attach these objects to bones, left / right hand for example.