01.03.2018, 17:35
How can i make to don't let the player to spam an command in this:
like to spam only 2 times in a second like that:
i can't spam more than 2 times in a second
Код:
public e_COMMAND_ERRORS:OnPlayerCommandReceived(playerid, cmdtext[], e_COMMAND_ERRORS:success) { switch(success) { case COMMAND_UNDEFINED: SCM(playerid, COLOR_WHITE, "ERROR: That command doesn't exists. Type /help!"); } return COMMAND_OK; }
i can't spam more than 2 times in a second