Posts: 1,233
Threads: 269
Joined: Oct 2008
Reputation:
0
How should I make /seatbelt command so it would work like this: If player doesn't has buckled seatbelt and if he hit a wall with high speed he would be thrown out of car, in other case he won't be thrown out of car..?
Ty for help
Posts: 7
Threads: 1
Joined: Jan 2014
Reputation:
0
Already posted, my post removed.
Posts: 355
Threads: 25
Joined: May 2012
Reputation:
0
I'm not too sure if I am much help, but you should try and download a script with /seatbelt already implemented, and read through the code. I guess that would give you a general idea of how it worked?
Posts: 526
Threads: 59
Joined: Feb 2011
Reputation:
0
You don't need to do anything with the velocity.
Get the vehicle's health, if it drops, remove some of the player's health.
Posts: 1,233
Threads: 269
Joined: Oct 2008
Reputation:
0
Okay this lower player's health and I like it but how can I make that player will throw out of car if he will hit wall with high speed (so there will look like he was thrown out of car through front windshield window)