ℹ️Basic Step
Basic Setup
Disclaimer: Lua Proficiency and Compatibility
Before diving into the customization and configuration of FRYDEV Spawn, it's essential to note that a solid understanding of the Lua programming language is highly recommended. FRYDEV Spawn's extensive customizability and personalization options often require familiarity with Lua scripting to make the most out of this advanced spawn script.
Furthermore, as of the latest release, FRYDEV Spawn has been optimized and tailored to work seamlessly with QBCore and QBX frameworks. While we've ensured compatibility with these popular frameworks, we understand that many players use different frameworks in their GTA V FiveM servers.
The good news is that FRYDEV Spawn offers plenty of flexibility and modularity. Even if you're not using QBCore or QBOX, you have ample opportunities to adapt and integrate it into your preferred framework. With access to the unencrypted portions of the script, you can make the necessary adjustments to align it with your specific server setup.
Step 1: Regardless of Your Framework - Integration Basics
No matter which framework you're using, whether it's QBCore, QBX, or any other, let's start with the integration basics. In our Integration tab, you'll find specific instructions for each of these systems, guiding you step by step on how to successfully integrate FRYDEV Spawn.
Step 2: Downloading and Importing FRYSPAWN
Download "fry_spawn" from your CFX.RE Keymaster.
Import the downloaded resource into your core folder.
Ensure that the resource is named "fry_spawn" since we utilize NUI (Web elements) that reference the URL as "fry_spawn."
Step 3: Setting Up the Database
Open your PHPMYADMIN or any other SQL database management interface.
Import the following SQL code:
```sql
CREATE TABLE `fry_spawn` (
`id` int(11) NOT NULL,
`uid` text NOT NULL,
`screen_x` text NOT NULL,
`screen_y` text NOT NULL,
`gang` text NOT NULL,
`job` text NOT NULL,
`data` text NOT NULL,
`x` float NOT NULL,
`y` float NOT NULL,
`z` float NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
ALTER TABLE `fry_spawn`
ADD PRIMARY KEY (`id`);
```
After completing these steps, proceed to the integration process:
🔌IntegrationLast updated
Was this helpful?