Jump to content

hey need help [REL] Gang system by Solidsnake14


Recommended Posts

idk but probally it will be /gc , /clanc , if it will not work then try to add this in your client file

[lua]-- group chat --

addCommandHandler ( "clanc", function ( plr, _, ... )

    local message = table.concat ( { ... }, " " )

    local g = getPlayerGroup ( plr )

    if ( not g ) then

        return outputChatBox ( "You cannot use this command, you're not in a group", plr, 255, 0, 0 )

    end

 

    if ( message:gsub ( " ", "" ) == "" ) then

        return outputChatBox ( "You didn't enter a message. Syntax: /clanc message", plr, 255, 0, 0 )

    end

 

    outputGroupMessage("[ClanChat] " ( plr, message ), g, true )

Link to comment

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