I'm trying to make a seatbelt script, if you go inside and scrollwheel to put it on it enables seatbelt, you scrollwheel to take it off aswell, but my problem is when players jump out and back in they still have it. here's what is supposed to fix it: I need it to call when a player is outside a vehicle to turn the variable to false.
while {true} do
{
if (!(vehicle player) isKindOf "Car" && ex_seatbelt) then
{
ex_seatbelt = false;
};
};
I'm trying to make a seatbelt script, if you go inside and scrollwheel to put it on it enables seatbelt, you scrollwheel to take it off aswell, but my problem is when players jump out and back in they still have it. here's what is supposed to fix it: I need it to call when a player is outside a vehicle to turn the variable to false.
while {true} do { if (!(vehicle player) isKindOf "Car" && ex_seatbelt) then { ex_seatbelt = false; }; };
Share this post
Link to post
Share on other sites