Jump to content

Help with addCommandHandler


dzek (varez)

Recommended Posts

Posted

#1

I think you don't have the idea what resource is. Click here for some info and here for even more.

Simple command (server-side)

  
function stuckMSG(player) 
  outputChatBox(getPlayerName(player)..": Help! I'm stuck!", getRootElement(), 255, 255, 255, true) 
end 
addCommandHandler("stuck", stuckMSG) 
  

#2

There is resource called welcome_window on the MTA community. Unfortunately - it's not having tabs support. I've got one resource with tabs - I'll post it today (later) on the community, so you will be able to download and use it.

Posted
So, Where should i put these words? in what file?

I gave you some links. Just read them and you will know everything. I can copy and paste it there on the forums, but this makes no sense..

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...