Donboo Posted May 7, 2017 Posted May 7, 2017 (edited) This script is started from Armyw0w's example script. Now this script contains an admin system with the following commands: /kick /spawn /a (admin chat) /veh /goto /dive (skyfall) /mypos (testing purpose) /makeadmin You can use these examples in order to create new systems. Download: https://github.com/Donboo/RageMP-Example Edited May 7, 2017 by Donboo 7
MrBoolean Posted May 19, 2017 Posted May 19, 2017 I submitted some pull requests to fix some bugs I found while looking through this - overall pretty nice for someone that's starting out to jump into it w/ an example! Nice work. 3
AlexanderDem Posted August 26, 2017 Posted August 26, 2017 (edited) Good evening. Help me to understand the installation of your mod. I do not understand where the packege.js file is. What npm packages should I install for work? Edited August 26, 2017 by AlexanderDem
Armyw0w Posted August 26, 2017 Posted August 26, 2017 3 hours ago, AlexanderDem said: Good evening. Help me to understand the installation of your mod. I do not understand where the packege.js file is. What npm packages should I install for work? for mysql open cmd, enter "cd [folder directory {e.g: C:\RAGEMP\Server}]" and type "npm install mysql" 1
MrPancakers Posted October 4, 2017 Posted October 4, 2017 (edited) By the way, inside players.js, you've forgotten to add in the Admin column inside server_players DB.Handle.query("CREATE TABLE IF NOT EXISTS `server_players` (`ID` int(11) NOT NULL,`Name` varchar(24) NOT NULL,`Password` varchar(128) NOT NULL, `Admin` int(3) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=latin1;", function() { } ); Line 43, I haven't tried it but that should probably fix it. Edited October 4, 2017 by MrPancakers
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now