IC chat and Commands spaming - Help!
#1

How to make that players can write in IC/command every (for example) 2 seconds...

Код:
public OnPlayerText(playerid, text[])
{
	new LoseRijeci[][] =
	{
			{"jebem"},
			{"ustas"},
			{"cetnici"}
	};
	for(new i; i != sizeof(LoseRijeci); ++i)
	{
		AntiPsovka(text, LoseRijeci[i]);
	}
	if(Mute[playerid] == 1){
        return SendClientMessage(playerid, COLOR_WHITE, "Ne mozes pricati");
    }
	else
	return 1;
}
Код:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success )
{
    if(!success)
    {
		SendClientMessage(playerid, COLOR_WHITE, "Napisali ste komandu koja nepostoji, koristite /cmds da vidite popis komandi!");
	}
	return 1;
}
Reply


Messages In This Thread
IC chat and Commands spaming - Help! - by FL3GM4 - 13.01.2013, 00:47
Re: IC chat and Commands spaming - Help! - by u3ber - 13.01.2013, 01:04
Re: IC chat and Commands spaming - Help! - by FL3GM4 - 13.01.2013, 01:11

Forum Jump:


Users browsing this thread: 1 Guest(s)