ahmedo01 Posted July 22, 2014 Share Posted July 22, 2014 i'm using MrBrutus's vehicle system. Thank MrBrutus. But i need this. when i aim the vehicle i want to saw whose vehicle. how i can do this? veh system = ac_vehicle when i am the vehicle dx draw text on the car. thanks. Link to comment
Mr_Moose Posted July 23, 2014 Share Posted July 23, 2014 getElementData(vehicle, "owner") Should return the name of the player who spawned the vehicle. More information about usage may be found here. Link to comment
ahmedo01 Posted July 23, 2014 Author Share Posted July 23, 2014 thanks MrBrutus. how i can attach text to vehicle? can i use attachElements ? Link to comment
Mr_Moose Posted July 23, 2014 Share Posted July 23, 2014 You might have to use some kind of nametag system which calculate the screen position from player position in game, the race resource has a script like this included and I think I have one as well, can't access it currently thought. It's just 10 lines of code and some math on top of that but basically you'll use dxDrawText and get the position from a function who's name I forgot. 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