Raised This Month: $ Target: $400
 0% 

[Duda] Party de rak, hud


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Matians
Veteran Member
Join Date: Nov 2010
Location: ME QUIEREN ROBAR
Old 05-01-2013 , 21:50   [Duda] Party de rak, hud
#1

Porque en el hud de rak, no me aparece el porcentaje.

Miren así lo uso yo.

PHP Code:
public PartyHud(taskid) {
    
    static 
id, class[32]
    
id ID_HUD
    
    
if(!is_user_connected(id)) {
        
remove_task(taskid)
        return
    }
    
    static 
CountPartyPartyMsg[256], Players[32], id2
    
    CountParty 
0
    PartyMsg
[0] = 0
    
    
if (g_class[id] >= ZOMBIE// zombies
    
{
        
formatex(class, charsmax(class), "Zombie")
    }
    else 
// humans
    
{
        
formatex(class, charsmax(class), "Humano")
    }
    
    
get_party_index(idPlayers)
    for(new 
ig_PartyData[id][Amount_In_Party]; i++) {
        
        
id2 Players[i]
        
        if(
CountParty)
            
add(PartyMsgcharsmax(PartyMsg), "^n")
        
        
format(PartyMsgcharsmax(PartyMsg), "%s - %s - %s - Nivel: %d (%d%%)"strlen(PartyMsg) ? PartyMsg "^t^t^tMiembros del Party^n"g_PartyData[id2][UserName], class, g_level[id2], Porcentaje(id2))
        
CountParty++
    }
        
    
set_hudmessage(255255255g_hud_stats_x[id], g_hud_stats_y[id]+0.1606.01.0);
    
show_hudmessage(idPartyMsg)

Matians is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode