#~Scared Posted May 6, 2020 Share Posted May 6, 2020 hi everyone! i want make a code and customize the MTA:SA Command System u can't understand ? for example: i add a command: addCommandHandler("test",TestFunction) now i want when players types '/tEst' or '/TEST' or '/TeSt' , use this cmd! plz make ideas for me Link to comment
-Ilker. Posted May 6, 2020 Share Posted May 6, 2020 -- Example function useCommand1 ( ) outputChatBox("..") end for k,V in ipairs ( {"OUT","out","OuT"} ) do addCommandHandler ( V, useCommand1) end Link to comment
#~Scared Posted May 6, 2020 Author Share Posted May 6, 2020 i dont have free time for this method it means if my cmd is (/kdaskdaksdas) i should be type this cmd with this method ? 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