14.07.2012, 13:28 
	
	
	
	
	
	
				
				
					Disable all Commands Except...
			
	
		
		
		
		14.07.2012, 13:33 
	
	
	
	
	
	
		
		
		
		14.07.2012, 13:39 
	
	
	
	
	
	
		
		
		
		14.07.2012, 13:42 
	
	
	
	
	
	
		
		
		
		14.07.2012, 14:21 
	
	
	
		Anyone got a problem like this??
warning 203: symbol is never used: "zcmd_OnPlayerCommandText"
	
	
	
warning 203: symbol is never used: "zcmd_OnPlayerCommandText"
		
		
		
		14.07.2012, 22:00 
	
	
	Quote:
| then what will happen to this command? Код: {
     if(strcmp(cmdtext,"/t")==0 && cmdtext[2]=='\0')
     {
          if(gCommandsDisabled[playerid]==true)
          {
                //Text dialog blablab
                return 1:
          }
     } | 
From previous posts I saw that you can't use OnPlayerCommandText at same time as ZCMD. Don't know if that is true.
Anyways, I think the command will look like this way in ZCMD :
pawn Код:
CMD:t(playerid, params[])
{
if(gCommandsDisabled[playerid]==true)
{
//Text dialog blablab
return 1:
}
//...
}
					« Next Oldest | Next Newest »
				
				Users browsing this thread: 1 Guest(s)




