Message
api.client.Message(playerid, message)
Sends a message to a player client.
This sends a manual message from the server to the client of a player, via that player's serverside entity.
These messages can be received by the clientside SDK's server-to-client messaging function.
Parameters:
Name
Type
Description
playerid
string
The ID of the player entity, to send the message through.
message
table
The Data being conveyed. Must be a key-value pair table, not an array-style table.
Example:
Send a message back to the client, in response to a move message.
Last updated