Added lua scripts

This commit is contained in:
Jonas Ornfelt 2023-08-16 00:50:59 +02:00
commit ff39dff7e4
5972 changed files with 1951753 additions and 0 deletions

View 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)