Hi, i use Zombie Plague Advance. How can i do when the zombie is frozen i want to falling snowflakes from him... so i have to add somewhere this code
PHP Code:
// Get origin
static Float:originF[3]
pev(id, pev_origin, originF)
engfunc(EngFunc_MessageBegin, MSG_BROADCAST ,SVC_TEMPENTITY, originF, 0)
write_byte(TE_SPRITETRAIL) // TE ID
engfunc(EngFunc_WriteCoord, originF[0]) // x axis
engfunc(EngFunc_WriteCoord, originF[1]) // y axis
engfunc(EngFunc_WriteCoord, originF[2]+40) // z axis
engfunc(EngFunc_WriteCoord, originF[0]) // x axis
engfunc(EngFunc_WriteCoord, originF[1]) // y axis
engfunc(EngFunc_WriteCoord, originF[2]) // z axis
write_short(g_frost_gib) // Sprite Index
write_byte(10) // Count
write_byte(12) // Life
write_byte(2) // Scale
write_byte(20) // Velocity Along Vector
write_byte(5) // Rendomness of Velocity
message_end()
set_task(1.0, "create_snow_fall_sprite", id)
}
but i don't understand where i have to add this code
__________________