Thread: Free ammo
View Single Post
asstolavista
Junior Member
Join Date: Jan 2007
Old 02-08-2007 , 16:45   Re: Free ammo
Reply With Quote #12

Quote:
Originally Posted by VEN View Post
Hints: find_ent_by_owner, string is empty if !string[0], string[0] = 0 or string[0] = '^0' to empty string.
Thanks.

Quote:
You should understand that command execution or menu keypress doesn't necessarily mean that buying will be performed. Therefore your plugin is incompatible with the AMX Mod X Restrict Weapons Plugin, plus, there is an issue with overriding old-style buy menu by other AMX Mod X registered menu.

As for your second idea i'd register FM_MessageBegin (see fakemeta.inc and fakemeta_const.inc).
Ok, I'll test it. I'll have a busy weekend, perhaps monday I'll update.

Quote:
Also there is a simple method of WeapPickup/Money messages gametime check, though the second way would be more accurate.
That sounds fishy... Is there the minimal chance that a message might be issued between weappickup and money when buying weapons? Perhaps only if metamod/amxx plugins do it. Is there any that does such thing?

PS: Thank you for your feedback.
asstolavista is offline