So i need someone to help me to use message_begin()
I want to create special effects, powers, etc using messages but i dont know how to do that :{
example of this message, how to complete it ?
Code:
message_begin(MSG_ ,SVC_TEMPENTITY) //message begin
write_byte(TE_DLIGHT)
write_coord() // position ( what ? )
write_coord()
write_coord()
write_byte(1000.0) // radius in 10's // distance :D
write_byte(250.0) //colour
write_byte(0.0)
write_byte(0.0)
write_byte() // life in 10's // ( what ? )
write_byte() // decay rate in 10's // ( what ? )
message_end()
And also , how to determinate the INDEX ??
Lol is my first time when im try to learning about messages