mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-10 17:56:21 +00:00
project cleanup, getplayeridentifiers and sendchatmessage implemented
also adds support for the debug flag :)
This commit is contained in:
@@ -40,6 +40,8 @@ function onPlayerDisconnect(pid, name, identifiers)
|
||||
end
|
||||
|
||||
function onChatMessage(pid, name, message)
|
||||
MP.SendChatMessage(-1, "i hate this " .. name .. " guy!")
|
||||
MP.SendChatMessage(pid, "hiii babe i didnt mean it :3")
|
||||
print("" .. name .. " (" .. pid .. "): " .. message)
|
||||
return message .. " (edited by lua!!!)"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user