[Release] Roleplay Test | on first connection (09/04/2020)

What is this plugin ?

FreddyCorp:“This plugin adds a test on the first connection of your players,
you can populate it with the questions you want very easily !”

“This can be very useful if you have a RolePlay server and you want to make sure that all your players know how to play correctly.”

Features

  • UI on first connection that displays a form with a defined number of questions
  • Add your own questions
  • Add your own minimum score to pass the test (currently 8/10)

Installation

    1. Download the vrp_testrp
    1. Put the vrp_testrp in your resource files
    1. Enter in server.cfg.
    1. Type start vrp_testrp
  • 5.Enter in database (localhost/host) and import the Database.sql
    1. Enjoy xD

Add you questions

  • Go to html/questions.js
  • Add your questions like so:
       {question : "your question here",
        propositionA : "Choice A",
        propositionB : "Choice B",
        propositionC : "Choice C",
        propositionD : "Choice D",
        reponse : "B"}, // here put the correct answer
  • In html/scripts.js you can modify the following variables:
  var nbQuestionToAnswer = 10; // Number of questions to answer
  var nbAnswerNeeded = 8; // Number of right answers to pass the test
  var nbPossibleQuestions = 15; //number of questions in questions.js
  • You can also modify the logo in html/logo.png

Feel free to add your questions and modify the text (html/ui.html)

[Credit] Sighmir created the “vrp_dmvschool”
[IMPORTANT] rename folder “vrp_testrp” !!

link-download : vrp_testrp (00:00-Update database in folder)

Nice script! But could you make a ESX version ? That would be really great!

Well. No credits to Sighmir who actually made this.

My bad…
I forgot to put the credit for vrp_dmvschool.
Thanks for the observation

My experience in ESX is “null” :grin:

1 Like

Oh, alright then :smiley:

anyone hawe working in esx?

when i choose all the wrong answers i pass, there is a problem in this script, i wish that you can help me

Hello! There is a FS_Works Like new dev team in forums so we gonna make soon new rptest script. Peace FS_ WORKS