AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Death by C4 (https://forums.alliedmods.net/showthread.php?t=308438)

Question x Mark 06-20-2018 09:48

Death by C4
 
How to check if user is dead by C4 Explosion?

maqi 06-20-2018 09:57

Re: Death by C4
 
I would guess DMG_BLAST

Question x Mark 06-20-2018 11:05

Re: Death by C4
 
And, how to do that?

CrAzY MaN 06-20-2018 12:34

Re: Death by C4
 
Code:
#include <amxmodx> #define PLUGIN "Death By C4" #define VERSION "1.0" #define AUTHOR "CrAzY MaN" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR) } public client_death(killer, victim, wpindex) {     if(wpindex == CSW_C4)     {         client_print(0, print_chat, "DEATH BY C4")     }         }

Maybe this?


All times are GMT -4. The time now is 12:48.

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