Hay i got a Problem i want to add Items from the Main Plugin as Defaults but i always get a runtime error
i used this Code
http://forums.alliedmods.net/showthread.php?t=123445
and the error looks like this
The Inc i have included
the code is a 1 to 1 Copy just whit other func names
Error:
L 01/17/2011 - 15:34:55: Invalid array handle provided (0)
L 01/17/2011 - 15:34:55: [AMXX] Displaying debug trace (plugin "plugin.amxx")
L 01/17/2011 - 15:34:55: [AMXX] Run time error 10: native error (native "ArrayPushArray")
L 01/17/2011 - 15:34:55: [AMXX] [0] plugin.sma::_shop_item_add (line 2023)
Please help me ;)
__________________