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] + 1 = NextLevel[id]
}
What i really want to know is how that + and - and = works in amxx scripting.
__________________