Raised This Month: $ Target: $400
 0% 

Need Code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wTf.
Senior Member
Join Date: Aug 2011
Location: This important?
Old 04-17-2012 , 09:40   Re: Need Code
Reply With Quote #3

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.

Last edited by wTf.; 04-17-2012 at 09:42.
wTf. 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 07:47.


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