|
BANNED
|
03-31-2019
, 16:03
Re: [INC] Message Stocks
|
#23
|
Spoiler
PHP Code:
stock draw_status_icon(id, sprite[] = "", StatusIconFlags:status = StatusIcon_Hide, r = 0, g = 0, b = 0, bool:reliable = true)
{
if(id && !is_user_connected(id))
return 0;
static MSG_StatusIcon;
if(!MSG_StatusIcon)
MSG_StatusIcon = get_user_msgid("StatusIcon");
message_begin(get_msg_destination(id, reliable), MSG_StatusIcon, .player = id);
write_byte(_:status);
if(status)
{
write_string(sprite);
write_byte(r);
write_byte(g);
write_byte(b);
}
message_end();
return 1;
}
Can multiple sprites be displayed in HUD at the same time but different locations (automatically maybe) ?
|
|
|
|