strange...
havent had problems with it b4
i used this func to test it
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
public plugin_init() {
register_plugin("NVG Test", "1.0", "[ --<-@ ]")
register_clcmd("amx_nvg", "nvg_test")
}
public nvg_test(id) {
console_print(0, "func nvg_test called")
new arg[32]
read_argv(1, arg, 31)
new target = cmd_target(id, arg, 2)
give_item(target, "item_nvg") // line 20
}
it would still print this
Code:
func nvg_test called
L 03/05/2006 - 04:47:50: [FUN] Item "item_nvg" failed to create
L 03/05/2006 - 04:47:50: [AMXX] Displaying debug trace (plugin "NVG_Test.amxx")
L 03/05/2006 - 04:47:50: [AMXX] Run time error 10: native error (native "give_item")
L 03/05/2006 - 04:47:50: [AMXX] [0] NVG_Test.sma::nvg_test (line 20)