Adding Timer In Command
#3

Hi,
you to usse 'SetTimers' == 'LAG'

You Use
pawn Код:
//UP
new bool:BlockCommand[You_Slots];

// OnPlayerCommandText
if(BlockCommand[playerid] == true && strcmp(cmdtext,"/unblock", true)) return SendClientMessage(playerid,COLOR_IR_HERE,"[INFO] COMMANDS BLOCKED, Use /unbloc to Unblock Commands.");

if(!strcmp(cmdtext,"/unblock", true))
{
     BlockCommand[playerid] = false;// Unblock Command
     return 1;
}
if(!strcmp(cmdtext,"/x1", true)) // This is exemple.
{
     BlockCommand[playerid] = true;// Blocking command
     return 1;
}
Reply


Messages In This Thread
Adding Timer In Command - by scripter1 - 25.11.2010, 23:00
Re: Adding Timer In Command - by scripter1 - 27.11.2010, 14:53
Re: Adding Timer In Command - by zSuYaNw - 27.11.2010, 17:19

Forum Jump:


Users browsing this thread: 1 Guest(s)