Could anyone tell me why i get this errors?
PHP Code:
L 04/02/2011 - 08:32:29: [AMXX] Displaying debug trace (plugin "achieve.amxx")
L 04/02/2011 - 08:32:29: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 04/02/2011 - 08:32:29: [AMXX] [0] achieve.sma::eDeath (line 222)
L 04/02/2011 - 08:41:49: Invalid player id 0
heres the code
PHP Code:
public eDeath()
{
new Killer = read_data(1);
new weapon = get_user_weapon(Killer);
}
__________________