AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Display Stats like in HLStats (https://forums.alliedmods.net/showthread.php?t=140430)

Stylaa 10-12-2010 07:49

Display Stats like in HLStats
 
Edit :
My Code looks like this

and it just shows me ingame this ant not whit the Variables

What did i Wrong?

Jailbreak eXtreme %s Stats
Wärter Getöted %s
Gefangene Getöted %s
Zombies Getöted %s
Blase entlehrt %s

PHP Code:

const g_iKeysStatsMenu MENU_KEY_0;

PluginInit ---------------------------------------------------------

    new 
iLen charsmaxg_szStatsMenu );

    
addg_szStatsMenuiLen"\yJailbreak eXtreme %s Stats^n" );
    
addg_szStatsMenuiLen"\rWärter Getöted  \w%s^n" );
    
addg_szStatsMenuiLen"\rGefangene Getöted  \w%s^n" );
    
addg_szStatsMenuiLen"\rZombies Getöted  \w%s^n" );
    
addg_szStatsMenuiLen"\rBlase entlehrt  \w%s^n" );
    
    
register_menucmdregister_menuid"StatsMenu" ), g_iKeysStatsMenu"HandleStatsMenu" );

ShowStats ----------------------------------------------------------

public 
displaystats(id)
{
    
    new 
szMenu128 ]
    
formatexszMenu127g_szStatsMenuVERSIONkilledcts[id], terrorskilled[id], zombieskilled[id], pissed[id]);
    
show_menuidg_iKeysStatsMenug_szStatsMenu10"StatsMenu" ); 
}

public 
HandleStatsMenuiClientiKey )
{




All times are GMT -4. The time now is 10:18.

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