View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-23-2018 , 07:37   Re: How does TE_LIGHTNING work?!
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
I know how I can do it with other TE_ types. I need to know how TE_LIGHTNING specifically works if it even works. I don't need this for a plugin.
Code:

Try the following format i moved sprite model index to 7th param instead of the last.

/**
 *TE_LIGHTNING is TE_BEAMPOINTS with simplified parameters
 *
 * @note
 * write_byte(TE_LIGHTNING)
 * write_coord(startposition.x)
 * write_coord(startposition.y)
 * write_coord(startposition.z)
 * write_coord(endposition.x)
 * write_coord(endposition.y)
 * write_coord(endposition.z)
 * write_short(sprite model index)
 * write_byte(life in 0.1's)
 * write_byte(width in 0.1's)
 * write_byte(amplitude in 0.01's)
 */
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-23-2018 at 07:38.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh