Attachobjecttoplayer
#1

Hello, can someone give me the cords or the code for make a parachute on your back with attachobjecttoplayer, thanks.
Reply
#2

Its SetPlayerAttachedObject, and here it is.

SetPlayerAttachedObject( playerid, 0, 371, 1, 0.000000, -0.098745, 0.007657, 0.027064, 90.288558, 0.769836, 1.000000, 1.000000, 1.000000 );
Reply
#3

https://sampwiki.blast.hk/wiki/AttachObjectToPlayer
Код:
(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ)
It's not that hard to get those positions and the ID from the parachute.
Reply
#4

AttachObjectToPlayer is not working since 0.3, and you should use SetPlayerAttachedObject as Ki|| said.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)