make no CMD`s in DM
#2

this in the top of your script:

new in_dm[MAX_PLAYERS];
this in OnPlayerCommandText

if(strcmp(cmdtext,"/dm",true));
{
dm[playerid]=1;
}

put this where you wanna block command:

if(in_dm[playerid]==1)return SendClientMessage(playerid,0xFF0000FF,"You Cant Use Commands In Dm Area!!");

Reply


Messages In This Thread
make no CMD`s in DM - by CAMERON_BANFIELD - 19.04.2009, 08:56
Re: make no CMD`s in DM - by elci - 19.04.2009, 09:51
Re: make no CMD`s in DM - by Rks25 - 19.04.2009, 09:53
Re: make no CMD`s in DM - by CAMERON_BANFIELD - 19.04.2009, 10:09
Re: make no CMD`s in DM - by Rks25 - 19.04.2009, 10:54

Forum Jump:


Users browsing this thread: 1 Guest(s)