[Release] /help, /rules, /cmds [HRC] [1.4]

Hopefully soon. I just started back at school so don’t have all the time atm. No time schedule on it. I’ll most likely update for a couple new commands before moving to HTML.

1 Like

Change Log - 1.1

  • Added /sinfo
  • Renamed Images to right order
  • Cleaned up some code

Soon

  • /pinfo - Player info that will display ping, session playtime, server uptime, etc.
  • All wording through HTML and not Pictures.
1 Like

/Sinfo? [20 characters]

1 Like

server info. In the OP there is a screen shot

1 Like

Sweet thank you so much for this

1 Like

Change Log - 1.2

  • Fixed conflict with Simple Disclaimer
3 Likes

no problem. If you need anything let me know.

1 Like

Looks Nice. Good work. Have a snail :mascot:

1 Like

Just an update I recently started the HTML side of the script so hopefully I will finish soon. There is not time / date of the new update. I will be testing this extensively on different PC’s and monitor sizes.

I’m at school so has very limited time to work on this. If anyone has a modified version they have already made through it on the GitHub as a new fork.

2 Likes

Thanks heaps I changed the /sinfo to /admincmds, which has the admin commands.

Are you still working on the html version / update? photoshop is a pain. When are you releasing it??? I really want it???

1 Like

That’s pretty cool I did a simular thing with the admin window.

I’m working on the html update slowly, its being a pain with positioning the text per screen res. Its getting there thjough.

Also no need for the multiple question marks and begging.

2 Likes

ok, thank you. can’t wait…

1 Like

I added this to client.lua to get the help page to display on spawn but it doesn’t show on spawn?

AddEventHandler('onClientMapStart', function()
  Citizen.CreateThread(function()
    local display = true
    local startTime = GetGameTimer()
    local delay = 60000 -- ms

    TriggerEvent('help:display', true)

    while display do
      Citizen.Wait(1)
      if (GetTimeDifference(GetGameTimer(), startTime) > delay) then
        display = false
        TriggerEvent('help:display', false)
      end
      if (IsControlJustPressed(1, 51)) then
        display = false
        TriggerEvent('help:display', false)
      end
    end
  end)
end)

It does show if I type /help but just not on spawn

(Thank you for this great release by the way :smile:)

What you want is this trigger :wink:

AddEventHandler('playerSpawned', function(spawn)
    TriggerServerEvent('myResource:playerSpawn', spawn.x, spawn.y, spawn.z)
end)

yes use what Christopher said.

It was re written a lot from the resource it was, the original script is Simple Disclaimer so feel free to download that.

if you have any other questions feel free to ask.

2 Likes

I feel really thick lol but I just can’t figure out how to get that event handler to work? I’ve been looking at scripts that use the spawn event but just can’t get my head around it

As I said above it was re written heavily. The html and CSS files has vaules in them for the spawn events which are no longer there.

Try simple disclaimer for the spawn.

1 Like

no problem, thank you for your help :smile:

1 Like

i cant wait for the html version of this. i want to use this resource so bad but i dont have photoshop nor photoshop skills

1 Like

Yes. I’m slowly working on it. Its been a pain so far but I will get there…

1 Like