Raised This Month: $51 Target: $400
 12% 

Te_sprite_spray


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 09-21-2017 , 15:22   Te_sprite_spray
Reply With Quote #1

PHP Code:
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
write_byte(TE_SPRITE_SPRAY)
engfunc(EngFunc_WriteCoordposition.x)
engfunc(EngFunc_WriteCoordposition.y)
engfunc(EngFunc_WriteCoordposition.z)
engfunc(EngFunc_WriteCoordvelocity.x)
engfunc(EngFunc_WriteCoordvelocity.y)
engfunc(EngFunc_WriteCoordvelocity.z)
write_short(spr_leaf)
write_byte(10)
write_byte(10)
write_byte(0)
message_end() 
I try to spawn those leaf fall down when I hit the wall.
How can I get the Velocity part? and is there any better way to do it?
__________________
My plugin:
Celena Luna is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 09-22-2017 , 04:54   Re: Te_sprite_spray
Reply With Quote #2

Just set some random numbers to see how it'll affect the sprites.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 09-22-2017 , 07:36   Re: Te_sprite_spray
Reply With Quote #3

Quote:
Originally Posted by NiHiLaNTh View Post
Just set some random numbers to see how it'll affect the sprites.
I tried, it not even spawn @@
__________________
My plugin:

Last edited by Celena Luna; 09-22-2017 at 07:36.
Celena Luna is offline
Reply



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 14:56.


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