04.06.2016, 23:28
Make a variable. When the player enters something in the chat box, add +1 at the variable.
When the variable = 10 (for example), met him. Put a timer of 30 secs which reset the variable. Every time the player enter a message, the timer restarts (kill the timer and put it again).
- public OnPlayerText(playerid, text[])
When the variable = 10 (for example), met him. Put a timer of 30 secs which reset the variable. Every time the player enter a message, the timer restarts (kill the timer and put it again).
- public OnPlayerText(playerid, text[])