[RELEASE][VRP] vRP InfoPickups

Hi, here’s another script I made that I’m releasing today!

It’s a simple yet somewhat useful script that creates some information pickup points which display:

  • Current Time & Date
  • Number of Online Players
  • Total Number of Users
  • Number of Vehicles & Price
  • A welcome message

Screenshots

Screenshost

DOWNLOAD LINK: vRP/vrp_infoPickups at master · DGVaniX/vRP · GitHub

8 Likes

+1 I don’t currently use the vRP framework but I’ve looked over your couple of scripts and they seem pretty tidy.

2 Likes

Error resuming coroutine: server.lua:40: attempt to perform arithmetic on a nil value

stack traceback:

server.lua:40: in function ‘loadInfoPickups’

server.lua:61: in upvalue ‘handler’

what to do in this case?

If your database doesn’t have any users in vrp_users it will show that, just join the server and restart after

Error running system event handling function for resource vrp: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: Execution of native 00000000ff7f66ab in script host failed.

stack traceback:

[C]: in upvalue ‘_in’

citizen:/scripting/lua/natives_server.lua:150: in function ‘GetNumPlayerIdentifiers’

citizen:/scripting/lua/scheduler.lua:292: in function ‘GetPlayerIdentifiers’

base.lua:335: in local ‘f’

[string “-- Proxy interface system, used to add/call f…”]:39: in upvalue ‘handler’

citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scripting/lua/scheduler.lua:218>

stack traceback:

[C]: in function ‘error’

citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’

citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>

InvokeNative: execution failed: Argument at index 0 was null.

does these 2 can affect ?

Error running system event handling function for resource vrp: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes

stack traceback:

[C]: in function ‘error’

citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’

citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’

citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’

citizen:/scripting/lua/scheduler.lua:626: in upvalue ‘callback’

lib/utils.lua:43: in upvalue ‘finish’

lib/utils.lua:47: in upvalue ‘task’

base.lua:294: in local ‘cb’

[string “-- begin MySQL module…”]:45: in upvalue ‘handler’

citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scripting/lua/scheduler.lua:218>

stack traceback:

[C]: in function ‘error’

citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’

citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>

Error running call reference function for resource vrp_barbershop: citizen:/scripting/lua/scheduler.lua:403: server.lua:100: attempt to index a nil value (local ‘custom’)

stack traceback:

server.lua:100: in upvalue ‘ref’

citizen:/scripting/lua/scheduler.lua:389: in function <citizen:/scripting/lua/scheduler.lua:388>

[C]: in function ‘xpcall’

citizen:/scripting/lua/scheduler.lua:388: in function <citizen:/scripting/lua/scheduler.lua:387>

stack traceback:

[C]: in function ‘error’

citizen:/scripting/lua/scheduler.lua:403: in function <citizen:/scripting/lua/scheduler.lua:372>

Error running call reference function for resource vrp_barbershop:

This is not even an error caused by my script… :stuck_out_tongue:

anyway, I do have users in vrp_users

Hi , how i can change the spawnpoint in the wattz gamemode maked by you?

I follow your work and you are AMAZING, keep it up !

L.E: Just added the resource and it works perfectly

does it have to be started or something? I loaded the resourse, teleported to one of the coordinates in the server.lua and nothing is showing up.

I added some infos on top of a garage and its not showing. No errors in console. Do you have any ideas what could it be? thank you!

Can you make it non VRP

If this was converted for ESX, i would download it and use it on my server. This resource looks dope but i dont use vRP.