Is it possible to make the logo stay? So when you join it just stays there similar to HSG how they have it in the bottom right corner
Yeah just take the delay part out of the client.lua
Note to self. Make commented out lines for the above
thank you so much mate, really good jobby
i have a scroll bar on the right side that appears with this logo, i changed the dimensions to 115 x 115, anyway to get ride of this scroll bar ?
I should probs set an auto resolution. I’ll look into it when I’m home
Update 1.1
- Fixed the resolution issue @Candice_P sorry for the looonnng wait
- Added a new version which makes the logo stay on screen and not leave (non delay version) @J.Manlet again sorry for the wait
Downloads in OP
hello I use your great script and thank you for the great work you brought.
I have a question.
I explain: then I would like the image to disappear when we go on the map
-- Made by FAXES, Based off HRC
AddEventHandler('onClientMapStart', function()
Citizen.CreateThread(function()
local display = true
TriggerEvent('logo:display', true)
end)
end)
RegisterNetEvent('logo:display')
AddEventHandler('logo:display', function(value)
SendNUIMessage({
type = "logo",
display = value
})
end)
function ShowInfo(text, state)
SetTextComponentFormat("STRING")
AddTextComponentString(text)
DisplayHelpTextFromStringLabel(0, state, 0, -1)
end
-- Pause menu disable hud display
local isPaused = false
Citizen.CreateThread(function()
while true do
Citizen.Wait(10)
if IsPauseMenuActive() and not isPaused then
isPaused = true
TriggerEvent('fax-logo:setDisplay', 0.0)
elseif not IsPauseMenuActive() and isPaused then
isPaused = false
TriggerEvent('fax-logo:setDisplay', 0.5)
end
end
end)
I try to put it in the client but give nothing. Few if you do not mind giving me advice on how to proceed thank you in advance
To have is disappear try looking at the delay version. Looks like your using the non delay version…
i need to put this awesome mod in the top / left. anybody try to help me¿
Change the CSS. It’s UI…
Hello I would like to make it disappear when we escape and make it reappear when we come back in game desolate maivais English I’m french Thx
what do you mean by escape?
Yes. like to go on the map it disappears and reappears when you come back on the game
local IsPaused = false
Citizen.CreateThread(function()
while true do
Citizen.Wait(1)
if IsPauseMenuActive() and not IsPaused then
IsPaused = true
TriggerEvent('logo:display', false)
elseif not IsPauseMenuActive() and IsPaused then
IsPaused = false
TriggerEvent('logo:display', true)
end
end
end)
thank you very much I test tonight.
we can’t put the logo on the top left of the corner.
#logo .contenair{
position:absolute;
z-index: 2;
width: 150px;
height:115px;
left:95%;
top:99%;
margin:-150px 0 0 -115px;
opacity: 0.60;
background: url(‘img/logo.png’);
padding: none;
any help¿ ty <3
change
left:95%; top:99%;
to like 3 and 5
amazing! ty for all and sorry great work. works perfectly.
Is it possible to add a feature where you could toggle it on and off? client sided?
would do it my self if i understanded how have been trying but not any luck so far. Tnx // NovelaxNeko
currently not something I plan to place into the script, but there is 2 versions already available for you to modify to your liking.