thanks a lot working great just spaming this errors idk how to fix, and i saw somthing now this error only start spaming when i get to last model and then come first model again. here is logs
Thx Connor again this working great, and i solved error!
if( ++lastString > ArraySize(g_sPropsModel) )
to
if( ++lastString >= ArraySize(g_sPropsModel) )
PHP Code:
L 11/22/2013 - 20:48:53: [AMXX] Displaying debug trace (plugin "cs_prop_hunt.amxx")
L 11/22/2013 - 20:48:53: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 11/22/2013 - 20:48:53: [AMXX] [0] cs_prop_hunt.sma::pickup_next_ent_model (line 513)
L 11/22/2013 - 20:48:53: [AMXX] [1] cs_prop_hunt.sma::fwd_CmdStart (line 536)
L 11/22/2013 - 20:48:55: Invalid cellvector handle provided (1:5:5)
L 11/22/2013 - 20:48:55: [AMXX] Displaying debug trace (plugin "cs_prop_hunt.amxx")
L 11/22/2013 - 20:48:55: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 11/22/2013 - 20:48:55: [AMXX] [0] cs_prop_hunt.sma::pickup_next_ent_model (line 513)
L 11/22/2013 - 20:48:55: [AMXX] [1] cs_prop_hunt.sma::fwd_CmdStart (line 536)
L 11/22/2013 - 20:48:56: Invalid cellvector handle provided (1:5:5)
L 11/22/2013 - 20:48:56: [AMXX] Displaying debug trace (plugin "cs_prop_hunt.amxx")
L 11/22/2013 - 20:48:56: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 11/22/2013 - 20:48:56: [AMXX] [0] cs_prop_hunt.sma::pickup_next_ent_model (line 513)
L 11/22/2013 - 20:48:56: [AMXX] [1] cs_prop_hunt.sma::fwd_CmdStart (line 536)