standart zp in create_blast using 3 TE_BEAMCYLINDER
here i think added TE_SPRITE
here no change sprite, here added sprite
PHP Code:
public plugin_precache()
{
g_frostexp = precache_model("sprites/blabla.spr")
...blabla...
PHP Code:
// Frost Grenade: Freeze Blast
create_blast3(const Float:originF[3])
{
// Frost Sprite
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
write_byte (TE_SPRITE) // TE ID
engfunc(EngFunc_WriteCoord, originF[0]) // Position X
engfunc(EngFunc_WriteCoord, originF[1]) // Y
engfunc(EngFunc_WriteCoord, originF[2] + 50.0) // Z
write_short(g_frostexp) // Sprite index
write_byte(100) // Size of sprite
write_byte(15) // Framerate
message_end()
...blablabla...
__________________