Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RegisterCommand('me', function(source, args, rawCommand)
- local Jatekos = getIdentity(source)
- local message = rawCommand:sub(3)
- TriggerClientEvent("sendMessageMe", -1, source, Jatekos.firstname .. " " .. Jatekos.lastname, message)
- end)
- TriggerClientEvent('chat:addSuggestion', '/me', 'Segítség', {{ name="Cslekvés", help="A játék korlátai miatt nem látható cselekvés." }})
- RegisterCommand('do', function(source, args, rawCommand)
- local Jatekos = getIdentity(source)
- local message = rawCommand:sub(3)
- TriggerClientEvent("sendMessageDo", -1, source, Jatekos.firstname .. " " .. Jatekos.lastname, message)
- end)
- function tryCommand(source, args, rawCommand)
- local Jatekos = getIdentity(source)
- local message = rawCommand:sub(5)
- local math = math.random(1, 2)
- TriggerClientEvent("sendMessageTry", -1, source, Jatekos.firstname .. " " .. Jatekos.lastname, message, math)
- end
- RegisterCommand('try', tryCommand)
- RegisterCommand('megprobal', tryCommand)
- RegisterCommand('megpróbál', tryCommand)
- RegisterCommand('megprobalja', tryCommand)
- RegisterCommand('megpróbálja', tryCommand)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement