AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   in_attack button (https://forums.alliedmods.net/showthread.php?t=26658)

Ricky 04-06-2006 20:12

in_attack button
 
If anyone can help I'm looking to revise the tasks in in_attack button while in DeathMsg.

Hawk552 04-06-2006 21:52

You mean you're trying to remove it? Don't understand exactly, but I think this is what you're asking:

Code:
#include <amxmodx> #include <amxmisc> #include <engine> public plugin_init() {     // ...     register_event("DeathMsg","fnEventDeathMsg","a") } public fnEventDeathMsg() {     new iAttacker = read_data(1)     if(iAttacker)         entity_set_int(iAttacker,EV_INT_button,entity_get_int(iAttacker,EV_INT_button) & ~IN_ATTACK) }


All times are GMT -4. The time now is 16:42.

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