Can anybody tell me what is wrong with this code. I keep getting the errors at the bottom. The plugin is doing what it is suppose to but for some reason I get these errors which from time to time seem to make server CRASH.
PHP Code:
L 08/08/2012 - 20:35:29: Invalid player id 133
L 08/08/2012 - 20:35:29: [AMXX] Displaying debug trace (plugin "presents.amxx")
L 08/08/2012 - 20:35:29: [AMXX] Run time error 10: native error (native "client_print")
L 08/08/2012 - 20:35:29: [AMXX] [0] presents.sma::pfn_touch (line 265)
Line 265 is: client_print(ptd, print_chat, "[AMXX] YAY I found an Item on the Floor with $%d Dollars", addmoney)
PHP Code:
L 08/08/2012 - 18:45:59: [CSTRIKE] Player out of range (104)
L 08/08/2012 - 18:45:59: [AMXX] Displaying debug trace (plugin "presents.amxx")
L 08/08/2012 - 18:45:59: [AMXX] Run time error 10: native error (native "cs_get_user_money")
L 08/08/2012 - 18:45:59: [AMXX] [0] presents.sma::pfn_touch (line 267)
Line 267 is: cs_set_user_money(ptd, totalmoney)
__________________