Looking for a /me command on FXserver ES4


#1

just looking for some help with a /me command not having any luck trying to make my own :frowning:


#2

Server:

RegisterCommand('me', function(source, args, rawCommand)
    TriggerClientEvent('chat:addMessage', -1, {
        multiline = true,
        args = { GetPlayerName(source), rawCommand:sub(4) },
        template = '* <b>{0}</b> {1}'
    })
end)