Installation
Prepare and install dependencies
Mandatory device, to have app working
OR
OR
- yseries phone (minimum required version: 0.99.5)
Framework dependencies (supported by current bridge)
For framework, you can either choose:
Download
Please make you downloaded your resource:
- Escrowed version: CFX Portal
- Source version: Our store
Run SQL query
You’ll find .sql in the resource, otherwise you can use query below:
CREATE TABLE
`fd_taxi_profiles` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`identifier` varchar(255) NOT NULL,
`avatar` varchar(255) NOT NULL,
`passengerRating` float NOT NULL,
`driverRating` float NOT NULL,
`isTakingLocals` tinyint(1) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`),
UNIQUE KEY `fd_taxi_profiles_unique` (`identifier`),
KEY `fd_taxi_profiles_index_3` (`identifier`)
) ENGINE = InnoDB AUTO_INCREMENT = 1 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci
CREATE TABLE
`fd_taxi_orders_history` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`identifier` varchar(255) NOT NULL,
`from` varchar(255) NOT NULL,
`to` varchar(255) NOT NULL,
`distance` int(11) NOT NULL,
`reward` int(11) NOT NULL,
`type` enum('driver', 'passenger') NOT NULL,
`handleName` varchar(255) NOT NULL,
`handleRating` tinyint(4) NOT NULL,
`localId` varchar(255) NOT NULL,
`givenRating` tinyint(4) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fd_taxi_orders_history_index_2` (`identifier`)
) ENGINE = InnoDB AUTO_INCREMENT = 1 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci Configuration
Please ensure, that everything is configured as you like in config and data directories.
Start resource
Make sure, resource is started after ox_lib and oxmysql.
ensure oxmysql
ensure ox_lib
ensure (fd_laptop lb-phone yseries)
...
ensure fd_taxi