Jump to content

if a player enter in his vehicle


enzopaul4

Recommended Posts

You can use data :

setElementData
getElementData
getPlayerName
getVehicleName

 

 

So what you have to do is :

 

1. Go to the freeroam resource > mods\deathmatch\resources\[gameplay]\freeroam > fr_server.lua

2. Search for the 'createVehicle' Function and set a data for the vehicle with player name.

3. Get the results with 'getElementData' and use 'getVehicleName' To get the vehicle name and do what ever you want to.

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...