To execute something every 0.1 seconds, joaquim's way is really fine, you should consider it (you can also read Hawk552 tuts about tasks)
For your message code, this would be better :
-Don't use floats in you don't really need some
-> so use get_user_origin -> faster
-> message_begin -> faster
-> write_coord -> faster
- set_user_rendering vs fm_set_rendering should be ~ 7 times faster
PHP Code:
static origin[3]
get_user_origin(id, origin)
// Colored Aura
message_begin(MSG_PVS, SVC_TEMPENTITY, origin)
write_byte(TE_DLIGHT) // TE id
write_coord(origin[0]) // x
write_coord(origin[1]) // y
write_coord(origin[2]) // z
write_byte(13) // radius asdasdasd
write_byte(255) // r
write_byte(0) // g
write_byte(0) // b
write_byte(2) // life
write_byte(0) // decay rate
message_end()
//Glow
set_user_rendering(id, kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 35)
// Particle Burst
message_begin(MSG_PVS, SVC_TEMPENTITY, origin)
write_byte(TE_PARTICLEBURST) // TE id
write_coord(origin[0]) // x
write_coord(origin[1]) // y
write_coord(origin[2]) // z
write_short(20) // radius
write_byte(208) // color
write_byte(3) // duration (will be randomized a bit)
message_end()
__________________