sm-plugins/includes/zr_grenade_effects.inc
BotoX eefb23882b batch remove trailing spaces and convert windows \r\n line endings to linux \n
i don't want to have to do this again, fix your shitty code editors @commiters !!!
2018-08-09 19:35:44 +02:00

48 lines
1.7 KiB
SourcePawn

/**
* Called when a player is about to be freezed by a grenade
*
* @param client The victim index
* @param attacker The client index who threw the grenade
* @param duration The freeze duration, set by reference
* @return Plugin_Changed to apply new values, Plugin_Contninue to allow as is and >= Plugin_Handled to block
*/
forward Action:ZR_OnClientFreeze(client, attacker, &Float:duration);
/**
* Called when a player has been freezed by a grenade
*
* @param client The victim index
* @param attacker The client index who threw the grenade
* @param duration The freeze duration
* @noreturn
*/
forward ZR_OnClientFreezed(client, attacker, Float:duration);
/**
* Called when a player is about to be ignited by a grenade
*
* @param client The victim index
* @param attacker The client index who threw the grenade
* @param duration The ignite duration, set by reference
* @return Plugin_Changed to apply new values, Plugin_Contninue to allow as is and >= Plugin_Handled to block
*/
forward Action:ZR_OnClientIgnite(client, attacker, &Float:duration);
/**
* Called when a player has been ignited by a grenade
*
* @param client The victim index
* @param attacker The client index who threw the grenade
* @param duration The freeze duration
* @noreturn
*/
forward ZR_OnClientIgnited(client, attacker, Float:duration);
/**
* Called when a grenade will get his effect
*
* @param client Client that throw the grenade
* @param grenade Grenade index
* @return Plugin_Continue to allow as is and Plugin_Handled to block effect in the grenade
*/
forward Action:ZR_OnGrenadeEffect(client, grenade);