G-Stefan Posted July 12, 2016 Share 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 Link to comment
kikos500 Posted July 13, 2016 Share Posted July 13, 2016 2nd : i think u should use [lua]getKeyState or -- event onClientCharacter or --event onClientKey Link to comment
kikos500 Posted July 13, 2016 Share Posted July 13, 2016 2nd : i think u should use getKeyState or -- event onClientCharacter or --event onClientKey Link to comment
EstrategiaGTA Posted July 14, 2016 Share Posted July 14, 2016 3: "onPlayerChat" cancelEvent() Link to comment
Noki Posted July 14, 2016 Share 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. Link to comment
G-Stefan Posted July 14, 2016 Author Share Posted July 14, 2016 Thank you all for your help 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