[Release] Roleplay Test (form) on first connection (06/05/2017)

Can someone help me to convert this to esx 5. +

Nothing in the script should be incompatible with any frameworks. They are using depracated MySQL libraries but it should work fine. And also should be very easy to adapt to the new MySQL async.

No, see this screenshot. This is the server.lua
I changed to:

Both is not working… anybody?

@SaltyGrandpa can you fix this?

Probably. But I still don’t see how this is “incompatible” with a framework.

Hmm its not work bro… can you maybe check the codes? But thank you.

You haven’t create your DB :wink: the include sql

my gui isn’t working , pression the start and not working

[REQUEST] If you could add database support to log the answers that would be really cole. Other then that great work

This is amazing. (2020202)

That’s pretty stupid using this because you mainly can get a whit-list and have them answer questions in discord or something, it’s not compatible with anything now days. so prolly it will not work.

  • add “- antirpquestion” in the citmp-server.yml

i dont have this file , im using ESX does it mean i can’t use it?

This is a very old release. citmp-server.yml is from the old CitizenMP.server.

It’s now called server.cfg

Ahh , i added it there but it doesnt work? , is there a new version?

There is no new version whatsoever, develop it yourself or just use white list procedure

Hello,
i’ve this erreur. do you know for why?

Error loading script server.lua in resource antirpquestion: server.lua:1: attempt to call a nil value (global ‘require’)
stack traceback:
server.lua:1: in main chunk
Failed to load script server.lua.


require “resources/essentialmode/lib/MySQL”
MySQL:open(database.host, database.name, database.username, database.password)

require does not exist anymore.

See: http://docs.fivem.net/server-manual/migrating-from-citmp/

1 Like

thanks you for your answer
i will modify it and i keep the documentation

Anyone can revive this script? I really need something like this.

bump
20 charrrrrrrr