Progress so far:
PHP Code:
public Action:Event_SmokeExplode(Handle:event, const String:name[], bool:dontBroadcast)
{
new start = GetMaxClients();
new max_entities = GetMaxEntities();
for (new i = start + 1; i <= max_entities; i++)
{
if (!IsValidEntity(i))
return;
new String:Classname[128];
GetEdictClassname(i, Classname, sizeof(Classname));
if(StrEqual(Classname, "env_particlesmokegrenade"))
{
PrintToChatAll("Index Found: %d", i);
}
}
}
This will retrieve the ParticleSmokeGrenade entity, but I have no idea what to do with it
- Twelve-60
__________________