|
if(get_user_flags(Killer) & ADMIN_MENU) {
static weapons
weapons = pev(Killer, pev_weapons)
if(weapons & (1<<CSW_HEGRENADE) <= 0)
{
give_item(Killer, "weapon_hegrenade")
format(msg,127,"管理員殺敵獎勵:^n%s^n獲得一個手榴彈!",killername)
set_hudmessage(0, 255, 0, 0.01, 0.35, 2, 2.0, 5.0, 0.01, 0.1, 6)
show_hudmessage(0, msg)
}
請問bug在那
L 08/07/2008 - 13:39:06: [FUN] Player out of range (0)
L 08/07/2008 - 13:39:06: [AMXX] Run time error 10 (plugin "kill_bonus.amxx") (native "give_item") - debug not enabled!
L 08/07/2008 - 13:39:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). |
|