[COD]Evitar abuso de CMD
#1

bem, й util em alguns servidores:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp...
{
if(GetPVarInt(playerid,"CMDABUSE")>GetTickCount())return SendClientMessage(playerid,0xFF0000FF,"Vocк nгo deve abusar de Comando, aguarde alguns segundos");
SetPVarInt(playerid,"CMDABUSE",GetTickCount()+3000);
// Resto do codigo
return 1;
}

Crйditos a: Joe Torran C
Reply


Messages In This Thread
[COD]Evitar abuso de CMD - by andmeida10 - 15.04.2010, 15:17
Re: [TUT]Evitar abuso de CMD - by ipsBruno - 15.04.2010, 15:18
Re: [TUT]Evitar abuso de CMD - by russo666 - 15.04.2010, 15:19
Re: [TUT]Evitar abuso de CMD - by andmeida10 - 15.04.2010, 15:21
Re: [TUT]Evitar abuso de CMD - by ipsBruno - 15.04.2010, 15:31
Re: [TUT]Evitar abuso de CMD - by RoamPT - 15.04.2010, 15:44
Re: [COD]Evitar abuso de CMD - by ipsBruno - 16.04.2010, 23:56
Re: [COD]Evitar abuso de CMD - by Flavinho153 - 17.04.2010, 03:12
Re: [COD]Evitar abuso de CMD - by ipsBruno - 17.04.2010, 03:23
Re: [COD]Evitar abuso de CMD - by andmeida10 - 17.04.2010, 20:59

Forum Jump:


Users browsing this thread: 4 Guest(s)