Installation
Installation
- Ensure Dependencies – Make sure you have the required dependencies:
- Upload Files – Upload all files to your server resources folder.
- Configure Database – The script will automatically create required database tables.
- Server Configuration – Add to your server.cfg:
Plain text
ensure ox_lib
ensure finals-paycheck- Add the SQL to the database (if you are getting SQL error in the database)
SQL
CREATE TABLE `payments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`citizenid` varchar(50) NOT NULL,
`amount` int(11) NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;