View Single Post
Author Message
nG_getwreck
Senior Member
Join Date: Oct 2020
Location: Philippines from South Korea
Old 02-25-2021 , 10:16   Fixing knife disappear per new round
Reply With Quote #1

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(idATTRIBUTE_BONUS_XPg_Had_DualKatana[id])


But I got an errors:
PHP Code:
[AMXXRun time error 10native error (native "TrieKeyExists")
[
AMXX]    [0crxknife_models.amxx::_crxknives_get_attribute_int (line 837)
 
Unhandled dynamic native error
[AMXXDisplaying debug trace (plugin "knife_example.amxx"version "1.7")
[
AMXXRun time error 10native error (native "crxknives_get_attribute_int")
[
AMXX] [0knife_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.
__________________

Last edited by nG_getwreck; 02-25-2021 at 14:00.
nG_getwreck is offline