eluna-scripts-ornfelt/hello.lua
2023-08-16 00:50:59 +02:00

7 lines
No EOL
169 B
Lua

local PLAYER_EVENT_ON_LOGIN = 3
local function OnLogin(event, player)
player:SendBroadcastMessage("Hello!")
end
RegisterPlayerEvent(PLAYER_EVENT_ON_LOGIN, OnLogin)