- 6
- 0
So, I am working on a script to show the server's /rules dialog when you login, the script is working fine it shows /rules dialog when you login but it doesn't shows the server's login message.
My script:
My script:
rules.lua:
local SE = require 'lib.samp.events'
function SE.onServerMessage(color, text)
if string.find(text, "logged in") ~= nil then
sampSendChat("/rules")
return true
end
end