[Ajuda] Ajuda basica - Comando
#8

tente isso:

PHP код:
CMD:start(playerid

    if(
Player[playerid][Admin] >= 1
    { 

        
        
SendClientMessageToAll(cor_branco," [A/D]{00BFFF}Round{FFFFFF} Iniciado! Aguarde a liberaзгo de um Administrador!"); 
        for(new 
yeyeplayeridGetMaxPlayers(); yeyeplayerid != e; ++yeyeplayerid)
        {
            
            
ComandoBloqueado[yeplayerid] = true
            
ResetPlayerWeapons(yeplayerid); 
            
SetPlayerHealth(yeplayerid,100); 
            
SetPlayerArmour(yeplayerid,100); 
            
GivePlayerWeapon(yeplayerid,24,999); 
            
GivePlayerWeapon(yeplayerid,27,999); 
            
GivePlayerWeapon(yeplayerid,31,999); 
            
TogglePlayerControllable(yeplayerid,0); 
            
PlayerPlaySound(yeplayerid10570,0,0); 
            
TaNoRound[yeplayerid] = 1
            
            if(
pTeam[yeplayerid] == TEAM_ALPHA
            { 
                
SetPlayerInterior(yeplayerid,10); 
                
SetPlayerPos(yeplayerid,-975.975708,1060.983032,1345.671875); 
            } 
            if(
pTeam[yeplayerid] == TEAM_BETA
            { 
                
SetPlayerInterior(yeplayerid,10); 
                
SetPlayerPos(yeplayerid,-1130.8983,1057.7444,1346.4141); 
            }             
        }
    } 
    return 
1

Reply


Messages In This Thread
Ajuda basica - Comando - by ModaLOKO - 15.06.2015, 23:21
Re: Ajuda basica - Comando - by garotin - 15.06.2015, 23:41
Re: Ajuda basica - Comando - by ModaLOKO - 15.06.2015, 23:50
Re: Ajuda basica - Comando - by garotin - 15.06.2015, 23:51
Re: Ajuda basica - Comando - by Monotox - 15.06.2015, 23:53
Re: Ajuda basica - Comando - by ModaLOKO - 15.06.2015, 23:56
Re: Ajuda basica - Comando - by garotin - 15.06.2015, 23:58
Re: Ajuda basica - Comando - by zSuYaNw - 16.06.2015, 02:26

Forum Jump:


Users browsing this thread: 2 Guest(s)