mirror of
https://github.com/ElunaLuaEngine/Scripts
synced 2026-08-22 00:32:05 -04:00
9 lines
236 B
Lua
9 lines
236 B
Lua
|
|
local ChatPrefix = "#example"
|
||
|
|
|
||
|
|
local function ChatSystem(event, player, msg, _, lang)
|
||
|
|
if (msg:find(ChatPrefix) == 1) then
|
||
|
|
player:SendNotification("Example Chat Command Works")
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
RegisterPlayerEvent(18, ChatSystem)
|