Need some help with my stretcher system
#1

My Problem is that i can't find how to Attach a player to another Player Object, for example on the stretcher that is being rolled by the Medic, Maybe i need to set Player position on the stretcher using a timer BUT how to get the cords from an attached Object?
Sorry for my english
Reply
#2

https://sampwiki.blast.hk/wiki/AttachObjectToPlayer
Reply
#3

Quote:
Originally Posted by ElieJabbour
Посмотреть сообщение

I already attached an Object to the Medic BUT the problem is that i can't attach the SAME object to the PATIENT
or set the PATIENT position on this stretcher...
Reply
#4

https://sampwiki.blast.hk/wiki/AttachPlayerObjectToPlayer
Reply
#5

Quote:
Originally Posted by ElieJabbour
Посмотреть сообщение
Ohhhh looooooooooool sorry i thought you typed SetPlayerAttachedObject

EDIT: the problem is i didn't create the object, i just used this command to create it and attach to the player

pawn Код:
SetPlayerAttachedObject(playerid, INDEX_STRETCHER, 2146, 1, -0.644807, 1.606339, -0.006009, 182.068359, 92.579177, 359.846618, 1.000000, 1.000000, 1.000000);
Reply
#6

Well, Create it, and then use AttachPlayerObjectToPlayer, Should work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)