PHP Code:
new PlayerXP[33]
new PlayerLevel[33]
new RequiredKills[id]
new const LEVELS[3] =
{
1,
2,
4,
}
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
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
__________________