Hello, I want to fix this problem where every new round, i always lost my knife.
I'm using OciXCrom knife models plugin.
The problem occurs after being zombie and turn to new round.
Well, I did try doing this:
PHP Code:
register_logevent("newround()", 2, "1=Round_Start")
public newround(id) {
crxknives_get_attribute_int(id, ATTRIBUTE_BONUS_XP, g_Had_DualKatana[id])
}
But I got an errors:
PHP Code:
[AMXX] Run time error 10: native error (native "TrieKeyExists")
[AMXX] [0] crxknife_models.amxx::_crxknives_get_attribute_int (line 837)
Unhandled dynamic native error
[AMXX] Displaying debug trace (plugin "knife_example.amxx", version "1.7")
[AMXX] Run time error 10: native error (native "crxknives_get_attribute_int")
[AMXX] [0] knife_example.sma::Event_NewRound (line 192)
PS:
PHP Code:
public zp_fw_core_infect_post(id)
{
g_Had_exampleknife[id] = 0
}
This thing is needed, but this is where the problem came from.
__________________