Citizen.CreateThread(function()
while true do
Wait(1)
local ped = PlayerPedId()
local veh = GetVehiclePedIsUsing(ped)
if veh ~= 0 then
-- is vehicle a musclecar
if GetVehicleClass(veh) == 4 then
-- is ped a driver
if GetPedInVehicleSeat(veh, -1) == ped then
-- don't let vehicle to do wheelie
SetVehicleWheelieState(veh, 1)
end
end
end
end
end)