Hey I want this enitys to glow "func_door_rotating" and "func_pushable" in A MAP.
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <engine>
#define PLUGIN "ObejectMoverObjectGlow"
#define VERSION "1.0"
#define AUTHOR "Artemus"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public LightMovable()
{
new ent;
while(ent = find_ent_by_class(ent,"func_door_rotating", "func_pushable"))
{
set_ent_rendering(kRenderFxGlowShell, 255, 0, 255, kRenderNormal, 25)
}
}
Might some one help me to make this work.
__________________