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



Cellphone object - Dizzle - 07.10.2012

I need a cellphone attached object when Im calling someone, I've tried this one but nothing happens.

Код:
SetPlayerAttachedObject(playerid, 0, 330, 1, -0.405256, -0.000577, 0.107980, 38.940883, 339.253723, 264.400329);
I've also browsed all over ******, I will appreciate it if someone give me this object.


Re: Cellphone object - GoldenM4 - 07.10.2012

If you want the object ID here it is..
2886


Re: Cellphone object - Dizzle - 07.10.2012

Yeah I know some cellphone object ID's, 330, 2886, 18866 etc, but the problem is - it attaches to my as* instead in the hand.


Re: Cellphone object - ikbenremco - 08.10.2012

maby this helps:

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

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

changes your bone ID

SetPlayerAttachedObject(playerid, 0, 330, 5, -0.405256, -0.000577, 0.107980, 38.940883, 339.253723, 264.400329);


Re: Cellphone object - Dizzle - 08.10.2012

So is there anyone who could give me the right co-ordinates cause this ones are attaching the phone to my elbow?!


Re: Cellphone object - GoldenM4 - 02.12.2012

change the bone id to 5 SetPlayerAttachedObject(playerid, 5, X,Y,Z);