[Projeto] Comando
#3

OBS: Isto й apenas um exemplo fassa o seu.

PHP код:

new :libr[MAX_PLAYERS];
function::
OnPlayerConnect(playerid){
    
libr=false//Seta true no onplayerconnect
    
return 1;
}
MyCommand:x1(playerid){
    
libr=false//no comando em que o player for para a arena vocк seta false.
    
return 1;
}    
MyCommand:Saude_(playerid){
    if(
libr[playerid] == true) return printf("vocк esta bloqueado de usar x comando")
    return 
1;
}
MyCommand:Sair(playerid){
    
libr=true//Seta false novamente liberando os comandos.
    
return 1;

Reply


Messages In This Thread
Comando - by maxblaya01 - 19.08.2015, 03:10
Re: COMANDO - by Wellington1999 - 19.08.2015, 03:13
Re: COMANDO - by iTakelot - 19.08.2015, 03:24
Re: COMANDO - by Wellington1999 - 19.08.2015, 03:48
Re: COMANDO - by riajedA - 19.08.2015, 16:13
Re: COMANDO - by iTakelot - 19.08.2015, 16:27
Re: COMANDO - by ipsLuan - 19.08.2015, 21:41
Re: Comando - by ipsLuan - 19.08.2015, 21:54
Re: Comando - by iTakelot - 19.08.2015, 21:57
Re: Comando - by Cleyson - 19.08.2015, 22:10

Forum Jump:


Users browsing this thread: 6 Guest(s)