Raised This Month: $ Target: $400
 0% 

Help with level plz


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 12-24-2009 , 15:51   Help with level plz
Reply With Quote #1

when someone kills another person, this person just get XP and doesn't rise a level
PHP Code:
 public eDeath() 
 {
     static 
attackerattacker read_data(1)
     static 
victimvictim read_data(2)
     
g_bIsAlive[victim] = false
 
     PlayerXP
[attacker] += get_pcvar_num(XP_Kill)
     
client_print(attackerprint_chat"%s XP"get_pcvar_num(XP_Kill))
 
     while(
PlayerXP[attacker] >= LEVELS[PlayerLevel[attacker]]) 
     { 
         
client_print(attackerprint_chat"[AMXX] %L"LANG_PLAYER"LEVEL_MESSAGE"PlayerLevel[attacker]) 
         
PlayerLevel[attacker] += 
     

 } 
(sorry for the english)
Zapdos1 is offline
 


Thread Tools
Display Modes

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 04:07.


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