Quote:
Originally Posted by Flick3rR
Just like this? And that's all? :O
PHP Code:
#include <amxmodx> #include <fakemeta>
public plugin_init() { register_plugin("No Vehicle Kills", "1.0", "Flicker") new ent = FM_NULLENT while((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "func_vehicle"))) set_pev(ent, pev_dmg, 0) }
|
You should have tested it before posting here, but yes, that should be it, only if I haven't mistaken damage amount field, but since it says the key is "dmg" in VHE keyvalue, I guess it is pev_dmg indeed. I know for sure that pev_impulse is max speed(can be found in HLSDK).