santosh Posted June 18, 2017 Posted June 18, 2017 (edited) i cant spawn vehicles using f1 or "t" how can i install a trainer to to spawn vehicles in rage multiplayer please reply if anyone knows Edited June 18, 2017 by santosh
Danil_Valov Posted June 20, 2017 Posted June 20, 2017 Hi, santosh. You can send to the server a command `/spawncar` (for example) from your client side (you need to change a web part on the client side using this hack) when a user click to this buttons. And on the server you need to handle the command and spawn vehicles for users. An example for handling clicks to `f1` and `t` buttons on the client in the web part: <script> document.addEventListener('keydown', keyDownHandler, false); function keyDownHandler(e) { if(e.key === 'F1' || e.key === 't') { mp.invoke('/spawncar'); } } </script> Or you can use jquery for the handler. And you need to change/remove a bind to `t` button from the basic client side web part (`event.which == 84`).
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