[Ajuda] Comando
#2

@EDITED


PHP код:
new bool:Player01[MAX_PLAYERS]; 
new 
Player02
  
CMD:verx1(playerid

    
Player01[playerid] = true
    
    
Player02 ++; 
    
    for(new 
0<= MAX_PLAYERS++) 
    { 
        if(
Player01[playerid] == true && Player01[i] == true && Player02 == 2
        { 
             
SetPlayerInterior(i1); 
             
SetPlayerPos(i1416.107000,0.268620,1000.926000); 
             
Player02 0;
        } 
        else 
SendClientMessage(playerid, -1"Aguarde +1 player.");
        break;
    } 
    return 
1

Lembre-se que quando um x1 iniciar, automaticamente a var Player02 serб setada em 0 e outros 2 player poderгo iniciar um outro duelo!
Reply


Messages In This Thread
Comando - by Vegassilva - 05.04.2016, 19:44
Re: [Ajuda] Comando - by F1N4L - 05.04.2016, 19:48
Re: [Ajuda] Comando - by Vegassilva - 05.04.2016, 20:05
Re: [Ajuda] Comando - by F1N4L - 05.04.2016, 20:14
Re: [Ajuda] Comando - by cicinho - 05.04.2016, 20:22
Re: [Ajuda] Comando - by F1N4L - 05.04.2016, 20:28
Re: [Ajuda] Comando - by cicinho - 05.04.2016, 20:34
Re: [Ajuda] Comando - by F1N4L - 05.04.2016, 20:43

Forum Jump:


Users browsing this thread: 1 Guest(s)