Join Logo / Image [1.1]

Join Logo By FAXES

About
Join logo is a script that display’s a logo or image for a minute or two when joining the server. It will appear in the bottom right and will fade out after time is up.

The script now has a delay and non delay version. Since update 1.1

In the Download

__resource.lua
client.lua
index.html
script.js
style.css
logo.png

Requirements
None this is a standalone script.


Pictures


Downloads:


Change-log(s)

1.1


-

Installation
Place in your resources folder, just like any other resource.

This script is based off my other script HRC and has been heavily modified.

Further Support
If you have any issues or comments please put them below. :grinning:

18 Likes

Nice, will be using :slight_smile:

1 Like

love ya

Couldn’t you use DrawSprite?

maybe. That’s the way I knew best to.

Nice, seems like a cool little design thing to add to a server. Good job

1 Like

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

1 Like

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

1 Like

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

1 Like

Update 1.1

  • Fixed the resolution issue @Candice_P sorry for the looonnng wait :stuck_out_tongue:
  • Added a new version which makes the logo stay on screen and not leave (non delay version) @J.Manlet again sorry for the wait :slight_smile:

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?

1 Like

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)
1 Like