script_name("flipcar")
script_author("k3rtes")
require "lib.moonloader"
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if isKeyJustPressed(VK_DELETE) then
if isCharInAnyCar(PLAYER_PED) then
local v = storeCarCharIsInNoSave(PLAYER_PED)
local x, y, z = getCarCoordinates(v)
local rx, ry, rz = getCarRotation(v)
setCarRotation(v, rx, ry, rz + 180)
setCarCoordinates(v, x, y, z)
end
end
end
akhir[/KODE]
пожалуйста, исправь это, друг