Raised This Month: $ Target: $400
 0% 

Required_kills_for_next_level


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Brreaker
Senior Member
Join Date: Oct 2009
Location: Constanta, Romania
Old 06-09-2010 , 07:36   Re: Required_kills_for_next_level
Reply With Quote #5

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

*/ 
What the **** is this?!

PHP Code:
register_event("Required""Required""a"
There is no such thing as a "required" event.You may read all the events HERE

also,
PHP Code:
new const LEVELS[3] = 
{
    
1
    
2
    
4//no comma for this one!

and
PHP Code:
new RequiredKills[id
Unless you #define id 33, this would not work
__________________
There are 10 kinds of people.Those who understand binary, and those who don't.
Also, for those who understand binary, there is a donation tab too!
No steam || PM support!
Brreaker is offline
Send a message via MSN to Brreaker Send a message via Yahoo to Brreaker
 



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