https://thumbs.gfycat.com/Incompatib...rel-mobile.mp4
Is there any way I can use this?
Here is an old snippet that I think would be usefull, what do y'all think?
PHP Code:
void CreateParticle(char[] szName, float pDmgPos[3])
{
static int iEntity;
iEntity = CreateEntityByName("info_particle_system");
if (iEntity != INVALID_ENT_REFERENCE && IsValidEdict(iEntity) && IsValidEntity(iEntity))
{
pDmgPos[0] += GetRandomFloat(-3.0, 3.0);
pDmgPos[1] += GetRandomFloat(-3.0, 3.0);
pDmgPos[2] += GetRandomFloat(-3.0, 3.0);
TeleportEntity(iEntity, pDmgPos, NULL_VECTOR, NULL_VECTOR);
DispatchKeyValue(iEntity, "effect_name", szName);
DispatchSpawn(iEntity);
ActivateEntity(iEntity);
AcceptEntityInput(iEntity, "Start");
CreateTimer(1.0, Timer_Delete, iEntity, TIMER_FLAG_NO_MAPCHANGE);
}
}
__________________