Jump to content

script error


Monty

Recommended Posts

well, you get the element that made contact with the vehicle and check if it's a player,

and if it is, check what team they're on, if they're in the mech team then set the player's element data (the mech) to the vehicle, example:

setElementData(source,"MechCloseVeh",theVehcile) 

after that, set a timer to set the player's element data to nil or false, but while the timer is going, add the command and when they type in the command, check if the "MechCloseVeh" is a veh not nil or false, if it is, then fix the vehicle.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...