Jump to content

command execution (pls help)


HealthDown

Recommended Posts

Posted
triggerEvent, triggerServerEvent, triggerClientEvent 

Is for triggering events, not functions, or commands.

executeCommandHandler ( "weed" , player , "plant" , "1" ) 

  • MTA Team
Posted

What is wrong with all of you? (not jr10 and who didn't say bad stuff)

Can't you understand that he wants to do a command triggered by a button?! And he isn't asking for it ready made Samer, he is just asking for help on the below code. Indeed we are not slaves, but if you are not in this subforum to help, or ask for help. then i recommend you get out of this subforum IMHO. -.-

executeCommandHandler("weed", "plant 1") 

Posted

If it's server:

executeCommandHandler ( "weed" , player , "plant 1" ) 

Client:

executeCommandHandler ( "weed", "plant 1" ) 

My bad btw, I thought you specify it with several arguments, not one argument.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...