Quote:
Originally Posted by SequenceCuz
it easy to you if you are not much newbie here
so create a variable like
new pblockcommand[MAX_PLAYERS][amountofvariable i mean how many command should it handle][strings = 256]
So if u want to create u need to create a command that you said above and use strcmp or strfind to check first u need to loop it till the amount of that variable so if it match the cmdname so u return 1/; to the usage command like
PHP Code:
CMD:imcool(playerid, param[])
{
for(new s = 1; s <= your amountifvariable; s++) // <<< loopcheck
{
if(!strcmp(pblockcommand[playerid][s], "imcool",true))// <<<< check for cmdname value in variable
{
sendclientmessage(playerid,"you unable to use this command")
return 1;
}
}
//cotinue if it not be block
}
i'm not sure that u will understanding me but now if u don't understand pm me i could teach u
|
Do you even know what the hell you're telling him… gosh! if you yourself are not sure about something just dont bother!