[Ajuda] Primeiro ZCMD.
#5

PHP код:
CMD:set(playeridparams[])  
{  
  
       new  
         
parameter[30+'\0'],  
        
parameter2[30+'\0'],  
       
scmd[50];  
    if(
sscanf(params,"s[30]S()[50]",parameter,scmd))returnSCM(playerid,LBLUE,"/set [weapor]"); 
    if(
sscanf(params,"weapor",parameter,scmd)) 
    { 
         if(
sscanf(params,"s[30]S()[50]",parameter2,scmd))returnSCM(playerid,LBLUE,"/set weapor ak47"); 
         if(
sscanf(params,"ak47",parameter2,scmd)) 
         { 
         } 
    } 
    if(
sscanf(params,"ammo",parameter,scmd)) 
    { 
    { 
         if(
sscanf(params,"s[30]S()[50]",parameter2,scmd))returnSCM(playerid,LBLUE,"/set ammo ak47"); 
         if(
sscanf(params,"ak47",parameter2,scmd)) 
         { 
             } 
        } 
    }
    return 
1;

Reply


Messages In This Thread
Primeiro ZCMD. - by SukMathcuck - 21.12.2016, 12:27
Re: Primeiro ZCMD. - by MkeY - 21.12.2016, 12:30
Re: Primeiro ZCMD. - by FerrariL - 21.12.2016, 12:47
Re: Primeiro ZCMD. - by Eddye - 21.12.2016, 13:38
Re: Primeiro ZCMD. - by IlanZ - 21.12.2016, 14:07

Forum Jump:


Users browsing this thread: 1 Guest(s)