View Single Post
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 02-20-2020 , 08:26   Re: [CS:GO]Env_Explosion making no fireball
Reply With Quote #3

You could also use a tempeffect something like this:


https://sm.alliedmods.net/new-api/sd...SetupExplosion


Quote:
int g_Explosion;
// This on Mapstart
int g_Explosion; = PrecacheModel("sprites/sprite_fire01.vmt"); // You could use another model for this...

// This whereever you want to create the explosion...
float pos[3];
GetEntPropVector(Entity/client or whatever , Prop_Send, "m_vecOrigin", pos);

TE_SetupExplosion(pos, g_Explosion, 3.0, 1, 0, 1500, 5000);
TE_SendToAll();
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<

Last edited by andi67; 02-20-2020 at 08:27.
andi67 is offline