Thread: [Subplugin Submission] [ZP] Extra Item: Golden Ak - 47 v1.1 Fix
View Single Post
VenGi
Junior Member
Join Date: Apr 2011
Old 04-10-2011 , 08:36   Re: [ZP] Extra Item: Golden Ak - 47 v1.1 Fix
Reply With Quote #105

Quote:
Originally Posted by remotiv View Post
how to fix this bug??

Invalid player id 29
[AMXX] Displaying debug trace (plugin "zp_extra_goldenak.amxx")
[AMXX] Run time error 10: native error (native "get_user_weapon")
[AMXX] [0] zp_extra_goldenak.sma::fw_TakeDamage (line 170)
Invalid player id 30
In string:
#define is_valid_player(%1) (1 <= %1 <= 32)
just change value 32 to number of max players on your server.
and compile then.
VenGi is offline