fang
04-24-2008, 17:00
Is there a way to specify the location of a sprite on the users screen?
Ex. Over the radar or in the middle of the screen
public fw_prethink(id)
{
if(is_user_alive(id))
{
message_begin(MSG_ONE,iconstatus,{0,0,0},id);
write_byte(1); // status (0=hide, 1=show, 2=flash)
write_string("smallskull"); // sprite name
write_byte(255); // red
write_byte(0); // green
write_byte(0); // blue
message_end();
}
}
Ex. Over the radar or in the middle of the screen
public fw_prethink(id)
{
if(is_user_alive(id))
{
message_begin(MSG_ONE,iconstatus,{0,0,0},id);
write_byte(1); // status (0=hide, 1=show, 2=flash)
write_string("smallskull"); // sprite name
write_byte(255); // red
write_byte(0); // green
write_byte(0); // blue
message_end();
}
}