26.08.2014, 10:34
If you using https://sampwiki.blast.hk/wiki/Using_strcmp%28%29
just replace the last return 0; with return BadCommand(playerid);
and make a stock like:
sorry for my bad english!
just replace the last return 0; with return BadCommand(playerid);
and make a stock like:
Код:
stock BadCommand(playerid) { TextDrawShowForPlayer(playerid, Textdraw0); SetTimerEx("HideTextdraw", 5000, false, "i", playerid); // After 5 seconds textdraw hide } forward HideTextdraw(playerid); public HideTextdraw(playerid) { TextDrawHideForPlayer(playerid, Textdraw0); }