Raised This Month: $ Target: $400
 0% 

Need Code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wTf.
Senior Member
Join Date: Aug 2011
Location: This important?
Old 04-17-2012 , 08:07   Need Code
Reply With Quote #1

Hi guys.

I need code.

Level show jumping player's name.
wTf. is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 04-17-2012 , 08:31   Re: Need Code
Reply With Quote #2

Can you explain it better ? ^^
Torge is offline
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
Old 04-19-2012, 08:01
wTf.
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Reply



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