SA-MP Forums Archive
Put a player in trunk of car? 0.3c - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Put a player in trunk of car? 0.3c (/showthread.php?tid=195994)



Put a player in trunk of car? 0.3c - nejc001 - 04.12.2010

So i was thinking now with, samp 0.3c you can open trunk of car, so i though for a RP server you could kidnapp a player like so that you would put him in trunk of car. But it seems that there is no AttachPlayerToVehicle script.

or do you have any ideas how to do that, if its even possible?


Re: Put a player in trunk of car? 0.3c - JaTochNietDan - 04.12.2010

Well you can easily make your own script, for example, just make the player spectate the vehicle when someone puts him in the trunk, and when someone pulls him out of the trunk, take him out of spectate mode and put him on the ground where he took him out.


Re: Put a player in trunk of car? 0.3c - nejc001 - 05.12.2010

Well no, it should be clearly to see that a player is lying(i got an animation for that) in trunk. So AttachPlayerToVehicle would be the only way. :/


Re: Put a player in trunk of car? 0.3c - Joe_ - 05.12.2010

You have to understand there are limits lol, it's possible with a very fast timer, for each player in a trunk, but then, the resources used wouldn't be worth it.

Jato's idea is the best, imo.