We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d5b88 commit 78e9d4bCopy full SHA for 78e9d4b
vehicle-control/client.lua
@@ -184,14 +184,12 @@ AddEventHandler('save',function()
184
--remove from saved.
185
saveVehicle = nil
186
RemoveBlip(targetBlip)
187
- SetEntityAsNoLongerNeeded(vehicle)
188
ShowNotification("Saved vehicle ~r~removed~w~.")
189
saved = false
190
else
191
192
saveVehicle = GetVehiclePedIsIn(player,true)
193
local vehicle = saveVehicle
194
- SetEntityAsMissionEntity(vehicle, true, true)
195
targetBlip = AddBlipForEntity(vehicle)
196
SetBlipSprite(targetBlip,225)
197
ShowNotification("This ~y~" .. GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(vehicle))) .. "~w~ is now your~g~ saved ~w~vehicle.")
0 commit comments