AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Need Code (https://forums.alliedmods.net/showthread.php?t=183092)

wTf. 04-17-2012 08:07

Need Code
 
Hi guys.

I need code.

Level show jumping player's name.

Torge 04-17-2012 08:31

Re: Need Code
 
Can you explain it better ? ^^

wTf. 04-17-2012 09:40

Re: Need Code
 
PHP Code:

public drxp_spawn(id)
{
    if((
drxp_playerlevel[id] < 10) && (drxp_playerxp[id] >= LEVELS[drxp_playerlevel[id]]))
    {
        
client_print(id,print_chat,"[%s] Congratulations!You have gained a new level!"PLUGIN_NAME);
        while(
drxp_playerxp[id] >= LEVELS[drxp_playerlevel[id]])
        {
              
drxp_playerlevel[id] += 1;
        }
    }

    if(
drxp_playerlevel[id] > 0)
        
set_user_health(idget_user_health(id) + 5*drxp_playerlevel[id]);


PHP Code:

client_print(id,print_chat,"[%s] Congratulations!You have gained a new level!"PLUGIN_NAME); 

Level show jumping player's name.


All times are GMT -4. The time now is 07:47.

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