SA-MP Forums Archive
Help on Attached Objects - 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: Help on Attached Objects (/showthread.php?tid=568978)



Help on Attached Objects - maximthepain - 26.03.2015

I have attached stretcher to a player, so he can move with it, Now i want that if he is nearby injured player he can use /loadst comamnd & then the player will lay on the strecher he have. Can you help me, I don't know where to start or how to do it?
Thats the steps i have done:
1) /stretcher will attach stretcher object to a player(medic).
2) /loadst should make other player be attached to that stretcher from step 1.

This is the cords on top of the stretcher. (-0.0137, 0.2614, 0.5313)


Re: Help on Attached Objects - AlonzoTorres - 26.03.2015

It's not possible to attach players to objects, only the other way around. You also can't rotate the player to lay horizontally unless perhaps you use an ugly animation and change his coordinates with a timer.


Re: Help on Attached Objects - maximthepain - 26.03.2015

Quote:
Originally Posted by AlonzoTorres
Посмотреть сообщение
It's not possible to attach players to objects, only the other way around. You also can't rotate the player to lay horizontally unless perhaps you use an ugly animation and change his coordinates with a timer.
Well thanks anyways.