If you want a beam it's
PHP Code:
static Float:FOrigin[3] // Creamos un static Para poder utilizar el static para no crearlo al abrir {
pev(id, pev_origin, FOrigin)
message_begin(MSG_BROADCAST, SVC_TEMPENTITY) //Open the function
write_byte(TE_BEAMFOLLOW) //beam's class :D
write_short(id) //index
write_short(llamas) //sprite, of course, before this you have to precache the sprite.
write_byte(600) // Beam's Life (Duration)
write_byte(30) // Width
write_byte(139) //red
write_byte(35) //green
write_byte(35) //blue
write_byte(200) //Delay rate
message_end()