enzopaul4 Posted October 12, 2016 Share Posted October 12, 2016 I want to make a script like , owner show , if player create a vehicle from f1 , and if he enter on the vehicle , in the middle down i want to show like OWNER: the owner of this vehicle Vehicle: the name of the vehicle Link to comment
iPrestege Posted October 12, 2016 Share Posted October 12, 2016 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
Gravestone Posted October 12, 2016 Share Posted October 12, 2016 If you want to draw the owner and vehicle's name on the vehicle, use dxDrawText and getScreenFromWorldPosition. Link to comment
enzopaul4 Posted October 12, 2016 Author Share Posted October 12, 2016 ohye , i make it guyz i make it , thank you a lot! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now