AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hook Grenade Thrown? (https://forums.alliedmods.net/showthread.php?t=283296)

Whitez 05-30-2016 10:38

Hook Grenade Thrown?
 
Is there anyway to hook the event when the grenade is thrown?

wickedd 05-30-2016 10:53

Re: Hook Grenade Thrown?
 
grenade_throw()

KiLLeR. 05-30-2016 10:55

Re: Hook Grenade Thrown?
 
PHP Code:

#include <amxmodx>
#include <csx>

public grenade_throwindex,greindex,wId )
{
 
// your code...



AGoodGuy 05-30-2016 10:59

Re: Hook Grenade Thrown?
 
Btw, anyone know name of the sound play when player throw the grenade?
When File in the hole! print to screen?

wickedd 05-30-2016 11:49

Re: Hook Grenade Thrown?
 
PHP Code:

!MRAD_fireinhole 


AGoodGuy 05-31-2016 00:29

Re: Hook Grenade Thrown?
 
Quote:

Originally Posted by wickedd (Post 2423256)
PHP Code:

!MRAD_fireinhole 


Thanks, i found this. :D


All times are GMT -4. The time now is 18:37.

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