G-Stefan Posted July 12, 2016 Posted July 12, 2016 1.How to transform velocity in: angles km/h mp/h 2.I want to make a custom Edit Box.For that i need a function to output the key i press only if is a letter or a number How can i do that> 3.How can i cancel the Say and Say_Team messages on chatbox?To be more specific when i press T i dont want the message SAY: to appear Multi Theft Auto : Racers Land 10%
kikos500 Posted July 13, 2016 Posted July 13, 2016 2nd : i think u should use [lua]getKeyState or -- event onClientCharacter or --event onClientKey
kikos500 Posted July 13, 2016 Posted July 13, 2016 2nd : i think u should use getKeyState or -- event onClientCharacter or --event onClientKey
Noki Posted July 14, 2016 Posted July 14, 2016 1. getElementSpeed - it includes an argument for km/h and mp/h. You could also transform the velocity into angles easily if you used MTA's vector classes or used some basic physics.
G-Stefan Posted July 14, 2016 Author Posted July 14, 2016 Thank you all for your help Multi Theft Auto : Racers Land 10%
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