PHP Code:
new String:te_names[][] = {
"World Decal",
"Sprite Spray",
"Sprite",
"Sparks",
"Smoke",
"Show Line",
"Projected Decal",
"Player Decal",
"physicsprop",
"MuzzleFlash",
"Large Funnel",
"KillPlayerAttachments",
"Impact",
"GlowSprite",
"Surface Shatter",
"GaussExplosion",
"Footprint Decal",
"Fizz",
"Explosion",
"Energy Splash",
"EffectDispatch",
"Dynamic Light",
"Entity Decal",
"Client Projectile",
"Bubble Trail",
"Bubbles",
"BSP Decal",
"breakmodel",
"Blood Stream",
"Blood Sprite",
"BeamSpline",
"BeamRingPoint",
"BeamRing",
"BeamPoints",
"BeamLaser",
"BeamFollow",
"BeamEnts",
"BeamEntPoint",
"Armor Ricochet",
"Metal Sparks",
"Bomb Plant",
"Shotgun Shot",
"RadioIcon",
"PlayerAnimEvent",
"Dust"
};
#include <sdktools>
public OnPluginStart()
{
for(new a = 0; a < sizeof(te_names); a++)
{
AddTempEntHook(te_names[a], te_hook);
}
}
public Action:te_hook(const String:te_name[], const Players[], numClients, Float:delay)
{
PrintToServer("te_name %s num clients %i", te_name, numClients);
return Plugin_Continue;
}