Hey hope someone can help me out here
i’m trying to make logo appear when i go into a vehicle
made this little client lua
Citizen.CreateThread(function()
while true do
Citizen.Wait(1)
if IsPedInAnyVehicle(GetPlayerPed(-1),true) then
if not HasStreamedTextureDictLoaded("logo") then
RequestStreamedTextureDict("logo", true)
while not HasStreamedTextureDictLoaded("logo") do
Wait(1)
end
else
DrawSprite("logo", thclogo, 0.700,0.760,0.12,0.185, 0.0, 255, 255, 255, 255 )
end
end
end)
But nothing happens when i go into a vehicle?