|
|
|
@ -85,7 +85,7 @@ function main() |
|
|
|
|
}, |
|
|
|
|
Settings = { |
|
|
|
|
Key1='VK_RBUTTON', |
|
|
|
|
Key2='VK_C', |
|
|
|
|
Key2='VK_MENU', |
|
|
|
|
X=0, |
|
|
|
|
Y=0 |
|
|
|
|
}, |
|
|
|
@ -145,7 +145,7 @@ function main() |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
if isKeyDown(VK_RBUTTON) and (isCharInModel(PLAYER_PED, 440) or isKeyDown(VK_C)) then |
|
|
|
|
if isKeyDown(ini.Settings.Key1) and (isCharInModel(PLAYER_PED, 440) or isKeyDown(ini.Settings.Key2)) then |
|
|
|
|
sampSetCursorMode(3) |
|
|
|
|
mouse = 1 |
|
|
|
|
local posX, posY = getScreenResolution() |
|
|
|
|