Here:
Code:
// Global
new sprite
// In precache
sprite = precache_model("...")
//...
message_begin(MSG_ONE,SVC_TEMPENTITY,{0,0,0},id)
write_byte(17) // What kind of tempentity it is
write_coord(origin[0]) // X Coordinate
write_coord(origin[1]) // Y Coordinate
write_coord(origin[2]) // Z Coordinate
write_short(sprite) // The spr's name. Giving it 0 means it has none...
write_byte(YourScaleHere) // The scale of the sprite (in 0.1s)
write_byte(brightnessofthesprite) // And, well, the brightness of the sprite.
message_end()