YCMD Question
#1

How can i make to don't let the player to spam an command in this:
Код:
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;
}
like to spam only 2 times in a second like that:

i can't spam more than 2 times in a second
Reply


Messages In This Thread
YCMD Question - by C0oL3r - 01.03.2018, 17:35
Re: YCMD Question - by RxErT - 01.03.2018, 17:37
Re: YCMD Question - by C0oL3r - 01.03.2018, 17:42
Re: YCMD Question - by RxErT - 01.03.2018, 17:45
Re: YCMD Question - by C0oL3r - 01.03.2018, 17:57
Re: YCMD Question - by C0oL3r - 01.03.2018, 18:21
Re: YCMD Question - by RxErT - 01.03.2018, 18:56
Re: YCMD Question - by C0oL3r - 01.03.2018, 19:03
Re: YCMD Question - by Dayrion - 01.03.2018, 19:10
Re: YCMD Question - by C0oL3r - 01.03.2018, 19:17

Forum Jump:


Users browsing this thread: 2 Guest(s)