View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-16-2018 , 19:50   Re: [HELP] Run time error 10 (cs_set_weapon_ammo)
Reply With Quote #2

http://www.amxmodx.org/api/engine/find_ent_by_owner

Code:
[CSTRIKE] Non-player entity 0 out of range
[AMXX] Run time error 10: native error (native "cs_set_weapon_ammo") [AMXX] [0] gn_retake.sma::playerSpawned (line 127)
Code:
Return
Entity index if an entity was found, 0 otherwise
__________________
Bugsy is offline