This error fills my logs every day, and I still don't know why. Here are the lines where is the bug:
PHP Code:
if(is_user_connected(id)) {
iPtz[id] -= item_cost[get_info];
}
The error is:
L 11/07/2011 - 20:46:10: [AMXX] Displaying debug trace (plugin "items.amxx")
L 11/07/2011 - 20:46:10: [AMXX] Run time error 4: index out of bounds
Any ideas?