xMoDy Posted December 4, 2020 Share Posted December 4, 2020 I can talk from the z button but i want to add another so i have two buttons and i can talk from both like this : https://prnt.sc/vvwn0a Link to comment
Moderators Vinyard Posted December 4, 2020 Moderators Share Posted December 4, 2020 3 minutes ago, xMoDy said: I can talk from the z button but i want to add another so i have two buttons and i can talk from both like this : https://prnt.sc/vvwn0a Hi, The easiest way to accomplish this is by double clicking the empty space in the 'Alt. key' column. You will then be prompted to press the key you wish to use. Link to comment
xMoDy Posted December 4, 2020 Author Share Posted December 4, 2020 Yes, but how can I make it automatic from inside the server? 1 minute ago, Vinyard said: Hi, The easiest way to accomplish this is by double clicking the empty space in the 'Alt. key' column. You will then be prompted to press the key you wish to use. Yes, but how can I make it automatic from inside the server? i went to make is like t.h : bindKey (source , "r" , "down" , "voiceptt") But it does not work Link to comment
Administrators Tut Posted December 4, 2020 Administrators Share Posted December 4, 2020 Thread moved to the Scripting section, as it's a code related question not client support inquiry Link to comment
Erlkonig Posted December 4, 2020 Share Posted December 4, 2020 (edited) It does not work this way, you don't have a permission to change player MTA settings. You can use bindKey to call a function. function callingFunction () -- doing something end bindKey( "F1", "down", callingFunction ) Edited December 4, 2020 by Erlkonig 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