Raised This Month: $ Target: $400
 0% 

# XP out of # XP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 08-26-2013 , 09:32   Re: # XP out of # XP
Reply With Quote #4

PHP Code:
public Event_DeathMsg()
{
    new 
Attacker read_data(1)
    new 
Victim read_data(2)

    if (
Victim != Attacker)
    {
        if (
PlayerLevel[Attacker] < MaxLevel 1)
        {
            new 
Name[32]
            
get_user_name(idNamecharsmax(Name))

            if (
PlayerXP[id] >= Levels[PlayerLevel[id]])
            {
                
client_print(03"%s Reached Level %d!"NamePlayerLevel[id])
            }
        }
    }

something like this, it will be simpler if you post your code.. anyway feel free to edit this, and don't forget to register event.
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
 



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 18:58.


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