Command Block
#8

Quote:
Originally Posted by SequenceCuz
View Post
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(playeridparam[])
{
   for(new 
1<= your amountifvariables++) // <<< 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!
Reply


Messages In This Thread
Command Block - by Rog - 18.12.2014, 14:26
Re: Command Block - by SequenceCuz - 18.12.2014, 14:40
Re: Command Block - by Rog - 18.12.2014, 14:51
Re: Command Block - by SequenceCuz - 18.12.2014, 15:02
Re: Command Block - by MSam - 06.09.2018, 21:47
Re: Command Block - by v1k1nG - 07.09.2018, 00:06
Re: Command Block - by CaptainBoi - 07.09.2018, 08:28
Re: Command Block - by iLearner - 07.09.2018, 14:33
Re: Command Block - by MSam - 08.09.2018, 00:38

Forum Jump:


Users browsing this thread: 1 Guest(s)