AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved Getting money from headshot with Ham_Killed (https://forums.alliedmods.net/showthread.php?t=332298)

ZombieTheMan01 05-04-2021 10:08

Getting money from headshot with Ham_Killed
 
1 Attachment(s)
Hello everbody. I wasn't here for a long time. Anyway, I have a problem.

As seen in the title, making money by shooting headshot with Ham_Killed (both of = PK_Pre = PK_Post). I wrote it somehow with Deathmsg. However, since I use ZP 5.0, it gives me +300 standard money on my 2nd and subsequent kills.

Well, If we can block it with deathmsg, can't we do it with deathmsg? Or can you describe a way to monetize headshot with ham_killed? Priority is ham_killed. If not, by deathmsg.

(NOTE: The idea of giving -300 came to my mind. But I don't want to spoil it so that it won't fail.)

CrazY. 05-04-2021 10:20

Re: Getting money from headshot with Ham_Killed
 
You could use m_LastHitGroup with Ham_Killed.

ZombieTheMan01 05-04-2021 10:34

Re: Getting money from headshot with Ham_Killed
 
Quote:

Originally Posted by CrazY. (Post 2745894)
You could use m_LastHitGroup with Ham_Killed.

Very thanks. it worked :)


All times are GMT -4. The time now is 02:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.