[Ajuda] Comando
#1

Estou tentando fazer um cmd ele funciona assim, se um player digitar /verx1, ele irб ficar esperando atй outro player digitar /verx1, ou seja qnd 2 digitar o msm cmd, os 2 irгo teleportar para um local.

PHP код:
new bool:Player01[MAX_PLAYERS];
new 
Player02;
 
CMD:verx1(playerid)
{
    
Player01[playerid] = true;
   
    
Player02 ++;
   
    for(new 
0<= MAX_PLAYERS++)
    {
        if(
Player01[playerid] == true)
        {
            if(
Player01[i] == true)
            {
                if(
Player02 == 2)
                {
                    
SetPlayerInterior(playerid1);
                    
SetPlayerInterior(i1);
                    
SetPlayerPos(playerid1416.107000,0.268620,1000.926000);
                    
SetPlayerPos(i1416.107000,0.268620,1000.926000);
                }
            }
        }
    }
    return 
1;

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)