mirror of
https://github.com/bnowakow/GT7-Scripts.git
synced 2026-01-28 14:06:01 +00:00
22 lines
374 B
AutoHotkey
22 lines
374 B
AutoHotkey
bEnableCheckTyresMod := 0
|
|
|
|
GoTo EndCheckTyresDef
|
|
|
|
CheckTyresOverheating:
|
|
if (bEnableCheckTyresMod = 0){
|
|
return
|
|
}
|
|
|
|
tc := BitGrab(tyreX, tyreY, box_size)
|
|
for i, c in tc
|
|
{
|
|
td := Distance(c, color_tyre_overheat)
|
|
if (td < tolerance ){
|
|
tyres_overheating := true
|
|
break
|
|
}
|
|
}
|
|
return
|
|
|
|
EndCheckTyresDef:
|