Quote:
Originally Posted by KliPPy
Just check for every "func_vehicle" in plugin_init() and set theirs pev_dmg to 0, that's all to it.
|
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)
}
__________________