AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Top15 in points (https://forums.alliedmods.net/showthread.php?t=174462)

DeLiGhT001 12-20-2011 12:57

Top15 in points
 
Who can help me and me with a top15 in points

p.s this sentence was traduced with google translate.

kiki33hun 12-20-2011 13:39

Re: Top15 in points
 
15 points, wtf?

Darkskypew 12-21-2011 08:01

Re: Top15 in points
 
I tried to do so, but that does not work.

PHP Code:

public stats(idtop)
{
    static 
motd[1500], len
    len 
0
    
new g_Vault
    
//new g_text[255]
    
new Namers[33]
    new 
Namer[33]
    new 
s_Key[255], datas[255], s_APS[32], s_LevelS[32], s_DamageS[32], s_DamageMaxS[32]
    
g_Vault nvault_open("zombielite")
    
//formatex(s_Key, charsmax(s_Key) , "%s-Name", Names[id])
    
len += formatex(motd[len], charsmax(motd) - len"<html><body bgcolor='#000000'></body></html>")
    
len += formatex(motd[len], charsmax(motd) - len"<center><font color='#FFFFFF'>Счастливые часы !!!</font></center>")    
    for (new 
i=115i++)
    {
        
formatex(datas255"%d#%i#%i#%i#%i"Namerss_APS[i], s_LevelS[i], s_DamageS[i], s_DamageMaxS[i])
        
replace_all(datas 255"#"" ")
        
nvault_get (g_Vaults_Keydatas255)
        
parse (datass_APS31s_LevelS31s_DamageS31s_DamageMaxS31)
        new 
APS1[32], Level1[32], g_DamageEXP1[32], MaxEXP1[32]
        
Namer[i] = str_to_num (Namers)
        
APS1[i] = str_to_num (s_APS)
        
Level1[i] = str_to_num (s_LevelS)
        
g_DamageEXP1[i] = str_to_num (s_DamageS)
        
MaxEXP1[i] = str_to_num (s_DamageMaxS)

        
len += formatex(motd[len], charsmax(motd) - len"<font color='#FFFFFF'><tr><td>%d<td>%s<td>%d<td>%d<td>%d<td>%d<td></tr></font",
        
1NamerLevel1[i], 
        
APS1[i], g_DamageEXP1[i], MaxEXP1[i])
    }
    
len += formatex(motd[len], charsmax(motd) - len"</body></html>""#")
        
    
show_motd(idmotd"STATS")



DeLiGhT001 12-23-2011 10:50

Re: Top15 in points
 
Top15 in ponit, only kills , no arithmetic average of deaths and kills.


All times are GMT -4. The time now is 11:54.

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