Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //OnPlayerCommandText
- SetTimerEx("CmdTimerOff",3000,false,"i",playerid);
- if(GetPVarInt(playerid,"CMD")==1) return SendClientMessage(playerid, 0xF60000AA, "•Sem Flood• Aguarde 3 segundos, para digitar outro comando.");
- if(GetPVarInt(playerid,"CMD")==0)
- {
- SetPVarInt(playerid,"CMD",1);
- }
- // Fim do GM
- forward CmdTimerOff(playerid);
- public CmdTimerOff(playerid)
- {
- return DeletePVar(playerid,"CMD");
- }
Advertisement
Add Comment
Please, Sign In to add comment