[Ajuda] Coomand .
#2

Se funfa n sei, tenta...

PHP код:
dcmd_trazertodos(playeridparams[]) 

    
#pragma unused params 
    
if(Player[playerid][pAdmin] >= || Player[playerid][pFrente] >= 1
    { 
        new 
Float:X,Float:Y,Float:Z
        
GetPlayerPos(playerid,X,Y,Z); 
        
        for(new 
0MAX_PLAYERS++) 
        { 
            if(
GetPlayerTeam(i) != GetPlayerTeam(i)) continue;
            
            
SetPlayerPos(iX+1Y+1Z); 
            new 
String[2500]; 
            
format(String,128"** INFO ** O Player %s puxou todos da Facзгo."getPName(playerid)); 
            
SendClientMessage(i,COR_NEGATIVOString); 
            
        } 
    } 
    else 
    { 
        
SCM(playeridCOR_ERRO"** ERROR ** Vocк Nгo Tem Permissгo!"); 
    } 
    return 
1

Reply


Messages In This Thread
Coomand . - by DaRoma - 30.03.2016, 01:40
Re: Coomand . - by F1N4L - 30.03.2016, 02:12
Re: Coomand . - by DaRoma - 30.03.2016, 02:44

Forum Jump:


Users browsing this thread: 1 Guest(s)