Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local ped = GetPlayerPed(-1)
local car = GetVehiclePedIsIn(ped)
if car ~= 0 and (wasInCar or IsCar(car)) then
wasInCar = true
end
TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'Inform ', text = '<span>تم البيع</span>', style = { ['background-color'] = '', ['color'] = '' } })
end
end)