PHP Code:
public Event_DeathMsg()
{
new Attacker = read_data(1)
new Victim = read_data(2)
if (Victim != Attacker)
{
if (PlayerLevel[Attacker] < MaxLevel - 1)
{
new Name[32]
get_user_name(id, Name, charsmax(Name))
if (PlayerXP[id] >= Levels[PlayerLevel[id]])
{
client_print(0, 3, "%s Reached Level %d!", Name, PlayerLevel[id])
}
}
}
}
something like this, it will be simpler if you post your code.. anyway feel free to edit this, and don't forget to register event.