Raised This Month: $ Target: $400
 0% 

Required_kills_for_next_level


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SaM.ThE.MaN
Senior Member
Join Date: Jan 2010
Old 06-08-2010 , 14:05   Required_kills_for_next_level
Reply With Quote #1

Hi,
I am trying to get Required kills for next level :

PHP Code:
new PlayerXP[33]
new 
PlayerLevel[33]
new 
RequiredKills[id]

new const 
LEVELS[3] = 
{
    
1
    
2
    
4
}

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_event("Required""Required""a")
}

public 
Required(id)
 {
    
RequiredKills PlayerXP -= PlayerLevel += 1

Can some one help me =.= , i have the idea of how to do it , but i cant use it by scripting.
Requiredkills = Player Xp - next Player level.
__________________
  • Project : Level Plugin
o [||||||||||] - 100%
  • Project : OnePieceMod
o [||||||||||] - 20%

Last edited by SaM.ThE.MaN; 06-08-2010 at 14:09.
SaM.ThE.MaN 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 05:25.


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