Raised This Month: $ Target: $400
 0% 

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-13-2010 , 12:11   Next level
Reply With Quote #1

Hello,
Ok what i am trying to do is, show next level to a player when he types /me.

here is an example :

PHP Code:
#include <amxmodx>
#include <fun>

new PlayerLevel[33]
new 
NextLevel[33]

new const 
LEVELS[100] = 
{
    
1
    
2
    
4,
    
8
}

public 
plugin_init()
 {
    
register_clcmd("say /me""Stats")
    
register_clcmd("say_team /me""Stats")
    
register_event("DeathMsg""DeathMsg""a")
}

public 
Stats(id)
{
client_print(id," Your next level will be i%"NextLevel[id])
}

public 
DeathMsg()
{
PlayerLevel[id] + NextLevel[id]

What i really want to know is how that + and - and = works in amxx scripting.
__________________
  • Project : Level Plugin
o [||||||||||] - 100%
  • Project : OnePieceMod
o [||||||||||] - 20%

Last edited by SaM.ThE.MaN; 06-13-2010 at 12:20.
SaM.ThE.MaN 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 14:44.


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