AddPlayerChatAll
From Onset Developer Wiki
Description
Add (or send) a chat message to everyone on the server.
Syntax
AddPlayerChatAll(message)
Parameters
- message
The text message to send to everyone on the server.
Return Value
- Returns true.
Example
AddCommand("ann", function(playerid, ...)
local message = table.concat({...}, " ")
if #message < 10 or #message > 128 then
return AddPlayerChat(playerid, "Invalid specified range of the message.")
end
AddPlayerChatAll(message)
end)