View Single Post
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-23-2024 , 17:05   Re: Half-Life | No Wall Gauss
Reply With Quote #3

I saw the word 'useless' in the function prototype. Check it out. Falling damage is worldspawn. Crossbow will show as bolt, etc. Gauss will always be a client index. Just supplying some useless information. Haven't tested your work yet. Maybe add a vote to enable disable your plugin since if one cannot wallbang that spoils the fun factor by and large.

Code:
#include amxmodx #include fakemeta #include hamsandwich public plugin_init() {     register_plugin("Inflictor Test","1.0.0","SPiNX")     RegisterHam(Ham_TakeDamage, "player", "Event_Damage", 1); } public Event_Damage(victim, inflictor, attacker, Float:damage, damagebits) {     static szClass[MAX_NAME_LENGTH];     pev(inflictor, pev_classname, szClass, charsmax(szClass))     client_print 0, print_center, "%s", szClass }
__________________
DJEarthQuake is offline