OnPlayerText

From SA-MP

Jump to: navigation, search


OnPlayerText

This callback is called when a player types some chat text (any text not starting with /).


(playerid, text)
playeridID of the player who typed the text.
text[]The text the player entered.


Returns0 - Don't display the text the player typed.
Returns1 - Display the text the player typed.


Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools