Raised This Month: $ Target: $400
 0% 

[Solved] Player Level


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 05-17-2009 , 15:33   [Solved] Player Level
Reply With Quote #1

[solved]

Hello, I would like to know one thing.

How can I check a players level?

ex.

PHP Code:
new const Levels[7] = {
 
50,
 
400,
 
1900,
 
3500,
 
7100,
 
15700
}
 
new 
PlayerExp[33];
new 
PlayerLevel[33];
 
/.../
 
public 
whatever(id)
{
    if(
PlayerLevel[id] == Levels[PlayerLevel[6]]
        return 
PLUGIN_HANDLED;

Can I do something like this, or how could I do it?
__________________
Achievements API - a simple way for you to create your OWN custom achievements!

Last edited by Xellath; 05-18-2009 at 10:03.
Xellath 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 01:33.


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