Помогите дописать тригер для гта 5 Topic is solved

Помощь в написании скриптов
Qwere

Помогите дописать тригер для гта 5  Topic is solved

07 Dec 2023, 22:33

Code: Select all

~RButton::
CoordMode, Pixel, Client
while(GetKeyState("RButton", "P"))
{
	PixelGetColor, color, 940, 385, RGB Slow
	TrayTip,, % Format("0xff0000{:x}", color)           ; показать цвет пикселя в трее
	
	if ((color == "") || (color == 0x000000)) {   ; если пиксель чёрный или цвет не удалось определить −
		SoundBeep, 100, 100                       ; будет выдан звуковой сигнал
		Sleep 300
	} else
	if (color == 0xC14F4F)
	{
		Send, {LButton down}
	}
	else
	{
		Send, {LButton up}
	}
}

Send, {LButton up}
return
[Mod edit: + [code][/code] tags.]

Return to “Помощь”

Who is online

Users browsing this forum: No registered users and 102 guests