29.08.2014, 06:44
There's a filterscript that already does it:
https://sampforum.blast.hk/showthread.php?tid=355066
If you want to do it by yourself, then check:
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
https://sampforum.blast.hk/showthread.php?tid=355066
If you want to do it by yourself, then check:
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject