hi, how do I rotate a sprite?
Code:
message_begin(MSG_BROADCAST, SVC_TEMPENTITY);
write_byte(TE_SPRITE);
write_coord(origin[0]);
write_coord(origin[1]);
write_coord(origin[2] + rand * 2);
write_short(fireSprite);
write_byte(rand);
write_byte(100);
message_end();