Robbery Bag in the back - 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: Robbery Bag in the back (
/showthread.php?tid=461313)
Robbery Bag in the back -
JaKe Elite - 01.09.2013
Hello,
I have seen this in a Cops and Robbers server, specially in Lorenc's one.
How can i do this? Yes i know how to do this i mean the coordinates of the back and the id of the object
Re: Robbery Bag in the back -
Edix - 01.09.2013
Well about the coordinates you can test it out urself and see what fits most of the skins.
You can use this to send a msg to show the current coordinates you're using :
https://sampwiki.blast.hk/wiki/OnPlayerEditAttachedObject
About the object ID I think this is the ID "1550 - sack of money from caligula's" found it here
https://sampwiki.blast.hk/wiki/Game_Object_ID_List
Re: Robbery Bag in the back -
JaKe Elite - 01.09.2013
OnPlayerEditAttachedObject is called when the object is moved or when player only presses the buttons?
Re: Robbery Bag in the back -
Edix - 01.09.2013
Quote:
Originally Posted by _Jake_
OnPlayerEditAttachedObject is called when the object is moved or when player only presses the buttons?
|
Its called when the player is done moving the object
Re: Robbery Bag in the back -
zrelly - 01.09.2013
maybe this?
Код:
SetPlayerAttachedObject(playerid, 3, 1550, 1, 0.1, -0.3, 0, 0, 40, 0, 1, 1, 1);
Re: Robbery Bag in the back -
JaKe Elite - 01.09.2013
Thanks Edix i finally got the coordinates and the modelid