Anyway..
PHP Code:
public update_lmmsg(id)
{
if(is_user_connected(id) && !is_user_bot(id))
{
update_finalmsg(id, g_havemine[id] + 1, 0) // deleting the previous num
update_finalmsg(id, g_havemine[id], is_user_alive(id) ? 1 : 0) // set the current num
}
}
public update_finalmsg(id, number, onoff)
{
static LMSprites[33]
format(LMSprites, sizeof(LMSprites), "number_%d", number)
message_begin(MSG_ONE_UNRELIABLE, g_Msg_StatusIcon, {0,0,0}, id)
write_byte(onoff)
write_string(LMSprites)
write_byte(42) // red
write_byte(212) // green
write_byte(255) // blue
message_end()
}
__________________