Örnek kullanım
AddEventHandler('ToggleCruiseMode', function()
if (GetPedInVehicleSeat(GetVehiclePedIsIn(PlayerPedId(), false), -1) == PlayerPedId()) then
-- Check if cruise control button pressed, toggle state and set maximum speed appropriately
PlaySoundFrontend(-1, "Faster_Click", "RESPAWN_ONLINE_SOUNDSET", 1)
cruisemode = not cruisemode
local cruiseSpeed = GetEntitySpeed(GetVehiclePedIsIn(PlayerPedId(), false))
if cruisemode then
exports["Venice-Notification"]:Notify('Cruise Mode Enabled', 5000, "info")
-- or
--TriggerEvent('codem-notification', 'Cruise Mode Enabled', 5000, "info")
else
exports["Venice-Notification"]:Notify('Cruise Mode Disabled', 5000, "info")
-- or
--TriggerEvent('codem-notification', 'Cruise Mode Disabled', 5000, "info")
end
local maxSpeed = cruisemode and cruiseSpeed or GetVehicleHandlingFloat(GetVehiclePedIsIn(PlayerPedId(), false), "CHandlingData","fInitialDriveMaxFlatVel")
SetEntityMaxSpeed(GetVehiclePedIsIn(PlayerPedId(), false), maxSpeed)
end
end)
exports["Venice-Notification"]:Notify('First and Last name is already in use.', 5000, "check")
exports["Venice-Notification"]:Notify('First and Last name is already in use.', 5000, "lspd")




MarieDuke (doğrulanmış kullanıcı) –
It’s far better than those similar products, while the price is still acceptable.
Caitlyn (doğrulanmış kullanıcı) –
Her kuruşuna değdi. Sunucumuzu iyileştirdi ve bize önemli ölçüde geliştirme süresinden tasarruf sağladı.
Ettie (doğrulanmış kullanıcı) –
This has quickly become one of my favorite resources on our server.
Marge (doğrulanmış kullanıcı) –
gta rp best
Craig (doğrulanmış kullanıcı) –
The developer was patient and answered all my questions clearly. Highly recommended.
Delta (doğrulanmış kullanıcı) –
Great script. Easy setup, useful features, and no unnecessary complexity.
Keeley (doğrulanmış kullanıcı) –
Reliable, customizable, and well supported. I would purchase from this developer again.
Dameon (doğrulanmış kullanıcı) –
I think this is amazing. Lots of features and customizable from every point of view. The few times I asked for help in support they were competent, fast and above all very patient. Really recommend