Signature
stock fm_cs_remove_decals(index = 0) { static eventindex_decal_reset; if(!eventindex_decal_reset) eventindex_decal_reset = engfunc(EngFunc_PrecacheEvent, 1, "events/decal_reset.sc"); new flags = FEV_RELIABLE; if(!index) flags |= FEV_GLOBAL; engfunc(EngFunc_PlaybackEvent, flags, index, eventindex_decal_reset, 0.0, Float:{0.0, 0.0, 0.0}, Float:{0.0, 0.0, 0.0}, 0.0, 0.0, 0, 0, 0, 0);}
Notes
-
removes all created decals and players' corpses from the world
set a specific index to remove decals only for the given client