The online racing simulator
Flags colors on icon (Whe you race with Shift+f )
Whould be possible that someon do a small icon Top left or right of the screen that show the yellow / blue flag color? , this is when you race with shift+F

Seense lfs lack of "flag mans" ( No idea how are called in english) at side of the track, this small feature whould be nice

If someon can do it for me, seense i have no skill for imsim programing... whould be a great help

Thx and regards
You can enable showing flags in shift+F mode though in misc options.
Quote from Flame CZE :You can enable showing flags in shift+F mode though in misc options.

Indeed, but the msg is to big and show in a annoying place, that why a small icon whould be nice in top of the screen

Also with that option "on", the fps/time also apear in the screen while on shift+f

Thx for the answer flame
Quote from Inouva :....Seense lfs lack of "flag mans" ( No idea how are called in english) at side of the track, this small feature whould be nice...

You mean a marshall.

You could have a marshall - or a policeman, a warden.......
Attached images
lfs family.png
Quote from sinanju :You mean a marshall.

You could have a marshall - or a policeman, a warden.......

Yeah, but it gona look weird, that why i ask if someon can do a smal icon with the flag colors, So while on shift+f the icon pop-up with the corrunt color, when the yellow / blue flag situation goes off the icon is hidden again
Like this? Apologies for the mess in the preview pic, I forgot how to press ctrl+s... fp

Here's a simple way you could do it with pyinsim


import pyinsim
import threading

def blue_flag():
insim.send(pyinsim.ISP_BTN,
ReqI=255,
ClickID=61,
BStyle=pyinsim.ISB_DARK | 6,
T=165,
L=168,
W=30,
H=10,
Text="BLUE FLAG!!!")
threading.Timer(7.0, clear_buttons).start()

def yellow_flag():
insim.send(pyinsim.ISP_BTN,
ReqI=255,
ClickID=61,
BStyle=pyinsim.ISB_DARK | 1,
T=165,
L=168,
W=30,
H=10,
Text="YELLOW FLAG!!!")
threading.Timer(7.0, clear_buttons).start()

def clear_buttons():
insim.send(pyinsim.ISP_BFN, ClickID=61)

def flag_detection(insim, flg):
if flg.Flag == 1: ## BLUE
blue_flag()
elif flg.Flag == 2: ## YELLOW
yellow_flag()


insim = pyinsim.insim('127.0.0.1', 29999, Admin='', Flags=pyinsim.ISF_LOCAL)

insim.bind(pyinsim.ISP_FLG, flag_detection)

pyinsim.run()



Attached images
blue_and_yellow.png
wow
Quote from Inouva :Yeah, but it gona look weird, that why i ask if someon can do a smal icon with the flag colors, So while on shift+f the icon pop-up with the corrunt color, when the yellow / blue flag situation goes off the icon is hidden again

hi
could you please post it on hear that would be boss
I remember this from the past, called "Alectja" or something?

FGED GREDG RDFGDR GSFDG