mirror of
https://github.com/ElunaLuaEngine/Scripts
synced 2026-08-22 00:32:05 -04:00
Add and remove scripts. Tidy and update scripts
This commit is contained in:
parent
43750702f4
commit
3c51ed2371
21 changed files with 319 additions and 270 deletions
9
Example Scripts/example_chat_command.lua
Normal file
9
Example Scripts/example_chat_command.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue