Raised This Month: $ Target: $400
 0% 

[ZPA] How to add snowflakes from the frozen zombie


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GreenZombie
Junior Member
Join Date: Aug 2015
Old 09-04-2015 , 07:01   [ZPA] How to add snowflakes from the frozen zombie
Reply With Quote #1

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(idpev_originoriginF)
 
 
engfunc(EngFunc_MessageBeginMSG_BROADCAST ,SVC_TEMPENTITYoriginF0)
 
write_byte(TE_SPRITETRAIL// TE ID
 
engfunc(EngFunc_WriteCoordoriginF[0]) // x axis
 
engfunc(EngFunc_WriteCoordoriginF[1]) // y axis
 
engfunc(EngFunc_WriteCoordoriginF[2]+40// z axis
 
engfunc(EngFunc_WriteCoordoriginF[0]) // x axis
 
engfunc(EngFunc_WriteCoordoriginF[1]) // y axis
 
engfunc(EngFunc_WriteCoordoriginF[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
__________________
bal sam va vsi4kite
GreenZombie is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 09-04-2015 , 10:51   Re: [ZPA] How to add snowflakes from the frozen zombie
Reply With Quote #2

in the code look for the frost grenade code
you should add this under the line that is freezing the zombie
Depresie is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode