Jump to content

Small help for me


gytisan

Recommended Posts

Posted

Hey MTA

I need small help.

I need two types of messages

Type 1 player types /brb in chat Ant it writes PlayerName says Be Right Back

Type 2 player writes /bb OtherPlayer like. /bb Simon And it writes in chat PlayerName Says Bye Bye to Simon

Thanks :)

Posted

Server side

addCommandHandler ( 'brb', 
    function( uPlayer ) 
        outputChatBox( getPlayerName( uPlayer ) .. ' Says Bye Bye to Simon', root, 255, 255, 255 ) 
    end 
)    

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