OnPlayerCommandText
From SA-MP
[edit]
OnPlayerCommandText
This callback is called when a player enters a command into the server console, e.g. /help.
(playerid,cmdtext[])
| playerid | The player who entered the command. |
| cmdtext[] | The complete text entered, including the command and the /. |
| Returns | 0 - Command not processed, pass to another script or display "Unknown command" |
| Returns | 1 - Command processed. |
