Thread
:
[HELP] Golden deagle with less dmg to get ammo pack
View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
10-29-2019 , 14:46 Re: [HELP] Golden deagle with less dmg to get ammo pack
#
2
- Hook the death message event.
- Check if the player has bought a deagle (the
g_HasDg
cvar).
- Check if he used a deagle to kill the other player (
read_data(4, ...)
)
- Use the ZP natives to give him double the cvar's amount of ammo packs (
get_pcvar_num
* 2).
__________________
My public plugins.
Last edited by OciXCrom; 10-29-2019 at
14:48
.
OciXCrom
View Public Profile
Send a private message to OciXCrom
Find More Posts by OciXCrom