Back to Learning

Coding

814 prompts available

Advanced ESX Job Creator

Create a comprehensive and advanced job creation system for ESX (a popular FiveM framework) that allows server administrators to define, customize, and manage player jobs efficiently. The system should include: - Ability to create, edit, and delete jobs dynamically. - Custom job configurations including job name, description, salary, ranks, and permissions. - Integration with ESX inventory and economy systems. - Support for job-specific actions and tasks. - User-friendly commands or UI for job management. - Proper validation and error handling. # Steps 1. Define the structure and data model for jobs including essential fields (e.g., job ID, name, salary, ranks). 2. Implement commands or GUI for administrators to add, edit, and remove jobs. 3. Integrate the job system with ESX core functionalities such as player loadout, inventory, and money. 4. Allow the definition of custom job tasks or activities. 5. Ensure security by restricting job management commands to authorized users only. 6. Test the job creation system thoroughly to avoid bugs and ensure stability. # Output Format Provide the complete Lua source code for the advanced ESX job creator, including any necessary configuration files, command handlers, and documentation comments to explain the functionality. # Notes - Make sure the system is modular and can be extended or modified easily. - Follow best practices for ESX script development. - Assume knowledge of FiveM and ESX framework conventions.

Advanced Crypto Wallet ASP.NET Core

Create a comprehensive, advanced-level ASP.NET Core application that implements a fully functional cryptocurrency wallet using the Nethereum library. This wallet must support interaction with multiple blockchain token standards such as ERC-20 (Ethereum) and BEP-20 (Binance Smart Chain), allowing users to manage balances, execute transfers, and interact securely with smart contracts across these blockchains. Ensure the source code includes robust error handling, security best practices, and is optimized for production deployment. The wallet should support: - Generating and securely storing wallet keys. - Connecting to Ethereum and Binance Smart Chain networks. - Fetching token balances for supported standards (ERC-20, BEP-20). - Sending token transactions with proper gas estimation and nonce management. - Unit and integration tests covering key functionalities. - Clear project structure with dependency injection, configuration settings for network endpoints, and secure key management. Provide thorough explanations and comments within the code to ensure maintainability. Assume the user has basic familiarity with ASP.NET Core and .NET development, but provide all necessary details to deploy and test the wallet in a production-like environment. # Steps 1. Set up the ASP.NET Core Web API project. 2. Integrate Nethereum for blockchain interactions. 3. Implement wallet key management (generation, storage, retrieval). 4. Implement services for interacting with ERC-20 and BEP-20 tokens (balance retrieval, transfers). 5. Configure network connections for Ethereum and Binance Smart Chain, including endpoints and settings. 6. Implement API endpoints to expose wallet functionalities. 7. Add comprehensive error handling and logging. 8. Write unit and integration tests validating wallet operations. 9. Provide deployment considerations and configurations. # Output Format Provide the complete source code files organized logically (Program.cs, Startup.cs or equivalent, Controllers, Services, Models, Tests) along with relevant configuration files (appsettings.json) and instructions for setup and deployment. The code must be fully commented to explain the workflow and key parts. Include sample tests demonstrating successful wallet operations and error management.

Advanced FiveM Weather and Time Control

Create a highly advanced FiveM weather and time control script that surpasses cd_easytime in stability, usability, and feature richness. The script must include: - A visually appealing and highly detailed user interface that is intuitive and easy to navigate. - Robust support for the ESX, QB, and QBX frameworks, ensuring seamless integration and compatibility. - Enhanced stability to prevent crashes or lag during gameplay. - Well-structured and easily understandable code with clear documentation and comments for maintainability. # Steps 1. Design an attractive and user-friendly UI for controlling in-game weather and time. 2. Implement weather manipulation features such as setting specific weather types, dynamic weather cycles, and weather forecasting. 3. Implement time control functionalities including setting exact times, time acceleration/deceleration, and syncing time across players. 4. Ensure compatibility with ESX, QB, and QBX frameworks, utilizing their APIs and data structures as required. 5. Optimize the script for performance and stability to minimize impact on gameplay. 6. Comment the code extensively and provide clear documentation for ease of understanding and further development. # Output Format Provide the complete script files, including UI components and Lua server/client scripts, with thorough inline comments. Additionally, include a separate README.md file explaining installation, usage, framework integration, and customization options. The UI design should include screenshots or mockups embedded or linked in the documentation.

Advanced Cursor AI Rule Enhancement

Analyze the provided Cursor AI rule deeply and enhance it significantly to create a more advanced, detailed, and cutting-edge rule set for low-level system development. Specifically: - Eliminate any allowance for simplified or placeholder implementations; only state-of-the-art, fully realized code implementations are acceptable. - Ensure the code produced can be compiled and built as a complete project with all necessary components, covering all logical implementations thoroughly. - Expand the existing rules by adding new constraints that enforce completeness, high quality, and advanced system-level programming standards. - Ensure adherence to impeccable spelling and grammar throughout the rule. - Remove any fictional information or duplicate elements within the Cursor AI rule. - Integrate memory of the entire codebase context, enabling coherent and perfect implementation continuity. - Enhance every aspect of the rule, making it more rigorous and comprehensive for producing cutting-edge low-level system software. Do not hold back in your enhancement. Add whatever additional rules you deem necessary to achieve these goals. # Output Format Provide the enhanced Cursor AI rule as a clear, structured, and comprehensive text, formatted using markdown with headings and bullet points for each rule or principle, ensuring clarity and ease of use. # Examples (Optional) If helpful, include example rule definitions or snippets demonstrating the strictness and advanced nature of the rules, using placeholders for specifics. # Notes - Prioritize thoroughness, completeness, and high standards of code quality. - Ensure no relaxed or partial implementations are permissible. - Focus on the advanced needs of cutting-edge low-level system developers.

Advanced FiveM Zombie Script

Create an advanced FiveM zombie script system for a Cfx server with the following features: - Zombies roam around the city but cannot enter designated safe zones. - When zombies are killed, players can loot them. - Implement safe zones where players are protected from zombies. - Introduce animals roaming the city, both dead and alive; players can kill animals and loot them. - Broken vehicles should be implemented as props or objects. - Players can loot broken vehicles using a targeting system, such as target or ox_target. Please ensure all features integrate seamlessly and provide smooth gameplay experience with clear script organization and optimization for performance. # Steps 1. Define safe zones where zombies cannot enter. 2. Spawn zombies around the city outside safe zones. 3. Create a loot system for dead zombies. 4. Spawn animals (dead and alive) roaming the city. 5. Enable killing animals and looting from them. 6. Replace broken vehicles with appropriate props or objects. 7. Set up loot interactions on broken vehicles using target or ox_target systems. # Output Format Provide a detailed FiveM Lua script (or set of scripts) implementing the above features, well-commented and organized for ease of installation and customization. # Notes - Ensure compatibility with common FiveM frameworks. - Optimize for server performance. - Include instructions or comments on how to define safe zones and configure loot tables. # Response Formats Respond with the full script and explanation as plain text code blocks, along with comments where necessary for clarity.

Advanced ESX MDT System

Create a detailed and advanced MDT (Mobile Data Terminal) system for FiveM ESX framework tailored specifically for Los Santos Police Department (LSPD) and Emergency Medical Services (EMS). The system should facilitate efficient in-game data management and communication for police officers and EMS personnel. Requirements: - User-friendly interface compatible with FiveM ESX. - Features for LSPD including suspect records, vehicle registrations, warrant databases, and incident reporting. - Features for EMS including patient records, medical incident logs, and unit status tracking. - Secure login and role-based access control to distinguish between police and EMS personnel. - Real-time updates and synchronization across all users. - Integration with existing ESX systems for data persistence. - Support for searching, adding, editing, and removing records. - Audit logs to track user actions within the MDT. - Responsive design accommodating various screen sizes. # Steps 1. Design the database schema to support both LSPD and EMS data needs. 2. Develop the backend logic to handle data CRUD operations securely. 3. Create the frontend MDT interface with intuitive navigation and clear layouts. 4. Implement authentication and authorization aligned with ESX roles. 5. Test the system thoroughly in multiple scenarios to ensure reliability. 6. Optimize for performance and user experience. # Output Format Provide a comprehensive guide including: - A concise overview of system design. - Code snippets or pseudocode illustrating key components. - Database schema diagrams or descriptions. - Suggested folder structures and resource files for integration. - Step-by-step instructions for installation and configuration. # Notes Ensure the MDT respects role permissions strictly to prevent unauthorized access. Emphasize modularity and extensibility for future updates or other departmental integrations.

Advanced FiveM Zombie System

Create a detailed script for FiveM that implements an advanced zombie system with the following specifications: 1. Zombie Peds Customization: Use specific ped models determined by the user. These zombies must have custom emotes and distinct walk styles to enhance realism and variety. 2. Behavior and AI: - The zombies should exhibit advanced behaviors, such as realistic movement patterns, responsive reactions to player noise or presence, and coordinated group dynamics if appropriate. - Integrate noise mechanics where sounds made by the player or environment attract zombies within a certain radius. 3. Spawning Mechanics: - Spawn zombies randomly around the map ensuring balanced coverage. - Control the spawn frequency and quantity to avoid overcrowding while maintaining a challenging environment. - Include vehicles (cars) with zombies, ensuring these are not excessively numerous to prevent performance issues. 4. Performance Considerations: - Optimize the script to avoid excessive resource consumption. - Ensure smooth gameplay without lag or significant FPS drops. 5. Configurability: - Allow configuration for ped choices, emotes, walk styles, spawn numbers, and noise sensitivity. # Steps - Define zombie ped models and load corresponding assets. - Set up custom emotes and walk styles, and assign them to zombies. - Implement a noise detection system that influences zombie behavior. - Program random spawning logic for zombies and vehicles. - Integrate performance optimization techniques. - Test extensively to ensure balanced gameplay. # Output Format Provide a fully commented Lua script ready to be used in FiveM. Include explanations for configuration options and usage instructions within comments. Ensure the script is modular and easy to adapt or extend. # Notes - Ensure compatibility with the latest FiveM framework. - Avoid any hardcoded coordinates; spawning should be dynamic. - Make sure custom emotes and walk styles are identified by their names for clarity.

Advanced ESX Mechanic Job

Create a comprehensive and advanced mechanic job script for FiveM ESX framework that includes the following features: 1. **Vehicle Repair and Part Replacement:** Mechanics must be able to repair specific vehicle parts (engine, battery, tires, brakes, etc.) and replace them physically. Include detailed handling such as removing and swapping wheels with different types. 2. **Breakdown Risk System:** Implement a mileage-based breakdown risk system. When a vehicle reaches approximately 100,000 km, add random chances for breakdowns like battery failure, engine trouble, or tire blowouts. Use timers or mileage tracking to simulate wear and tear realistically. 3. **Tire Management:** Allow the mechanic to remove tires physically from the vehicle using proper animations, and install different types of tires or wheels. Ensure the mechanics affect vehicle performance accordingly. 4. **Realistic Animations:** Integrate fairly realistic mechanic animations throughout the interaction process, such as using tools, removing parts, replacing components, and inspecting vehicles. 5. **Boss Features:** Include boss-level management functionalities such as recruiting new mechanics, firing staff, managing payroll, and accessing business-related menus. 6. **Integration with ox_target, ox_lib, and ox_inventory:** Maximize interaction using the ox_target system for targeted interactions, ox_lib for utility functions, and ox_inventory to handle all inventory-related processes, including parts management, tool usage, and stock control. 7. **High Interaction Depth:** The job should be feature-rich and immersive, enabling dynamic player roles and interactions within the mechanic job, with detailed UI/UX where applicable. # Steps 1. Define vehicle parts and their states (working, damaged, broken). 2. Track vehicle mileage and incorporate a system to trigger random breakdown events based on use. 3. Implement part repair and replacement mechanics, with physical representation (e.g., removing a tire). 4. Develop animations for each mechanic action using appropriate FiveM animation libraries. 5. Create boss menus with recruitment, firing, and financial management using ESX and ox_lib. 6. Integrate ox_target for contextual targeting and interaction prompts. 7. Connect all inventory actions (storing parts, tools) to ox_inventory. 8. Test the system thoroughly for realistic behaviour and game balance. # Output Format Provide the complete, well-documented FiveM ESX Lua job script along with any additional resource files (client, server, animations, config), organized and ready to deploy. Include comments explaining critical parts, how to install and configure, and usage instructions for integrating ox_target, ox_lib, and ox_inventory. If external dependencies or assets are needed, specify them clearly. # Notes - Prioritize performance and modular design to facilitate future extensions. - Ensure compatibility with the latest stable versions of ESX, ox_target, ox_lib, and ox_inventory. - Include fail-safes for edge cases such as repairing already working parts or replacing missing components. - Make animations non-disruptive and sync appropriately for all players nearby. # Response Formats Output should be a structured and commented Lua script with supporting files, ready for direct use or adaptation in a FiveM ESX server environment.

Advanced ESX NoPixel Inventory

Create a highly advanced ESX FiveM inventory system inspired by the NoPixel inventory's look and feel. This inventory should be sophisticated, user-friendly, and visually appealing, reflecting the design principles and features of NoPixel's inventory. Focus on: - A clean and immersive UI that blends seamlessly with ESX framework. - Smooth animations and transitions for inventory interactions. - Support for advanced inventory features such as item stacking, dragging and dropping, combining items, equipped item visuals, and contextual options. - Efficient handling of different item categories (weapons, consumables, equipment, keys, etc.) with clear distinction. - Real-time updates and synchronization with server data. - Accessibility and responsiveness to ensure usability on different screen sizes and resolutions. # Steps 1. Analyze the NoPixel inventory UI and note key design elements and user interactions. 2. Plan the UI layout and functionality to incorporate similar features into the ESX framework. 3. Develop the frontend components using appropriate FiveM UI libraries (e.g., NUI, HTML/CSS/JS). 4. Implement backend logic in the ESX framework to manage inventory data, syncing and persistence. 5. Integrate seamless communication between client and server for inventory updates. 6. Test the inventory thoroughly in a FiveM server environment. # Output Format Provide a detailed system design document and example code snippets (client-side and server-side) demonstrating the inventory features and UI implementation consistent with NoPixel's look and feel. # Notes Ensure compatibility with the latest ESX version and provide customization tips to tailor the inventory for specific gameplay needs. # Response Formats ## prompt {"prompt":"[Full prompt text as above]","name":"Advanced ESX NoPixel Inventory","short_description":"Build an advanced ESX FiveM inventory system inspired by NoPixel's design.","icon":"GameControllerIcon","category":"programming","tags":["ESX","FiveM","Inventory","NoPixel"],"should_index":true}

Advanced Flutter UI Generator

Generate an advanced Flutter UI design concept tailored to a specified application type (e.g., complex dashboard, interactive form, or multimedia app interface). Your design should demonstrate mastery of Flutter by including: - Use of custom widgets and reusable components following modern design patterns. - Responsive and adaptive layouts that seamlessly adjust to various screen sizes and orientations, including phones, tablets, and desktops. - Smooth and sophisticated animations that enhance user experience without sacrificing performance. - Performance optimizations to ensure fluid UI rendering and minimal resource consumption. - Comprehensive handling of user interactions through intuitive and accessible UI elements. - Integration with state management solutions such as Provider, Riverpod, or Bloc, showcasing best practices for state handling. Include detailed explanations and Flutter code snippets illustrating your approach, highlighting how your implementation embodies current best practices and standards in Flutter development. Ensure the design is innovative, practical, and reflects advanced UI concepts facilitating maintainability and scalability. If given a specific UI type, tailor your response accordingly; otherwise, generate a detailed prompt example encapsulating all the above requirements to guide the creation of rich, performant Flutter UIs.

Advanced ESX-Ox Gang Script

Create a comprehensive, fully interactive, and immersive advanced gang management script compatible with ESX and Ox frameworks for FiveM. The script must allow in-game configuration and Lua scripting for full customization. It should enable creation and management of all gangs and their activities within the game environment. Key requirements include: - **Gang ranks:** Implement a hierarchical structure defining different member roles. - **Gang reputation system:** Track and update reputation based on activities and events. - **Gang drug system:** Limit access to purchase or work items strictly to leaders or bosses, but allow all members to craft drugs. - **Storage system:** Provide secure storage for gang resources. - **Interactive gang menu:** Design a visually striking, bug-free, and fully interactable "dope" menu styled in RED with pistol icons as decorations. - **Territory system:** Track and display territory control which dynamically determines gang income. - **Initiation system:** Require new members to complete NPC-driven mini missions to join gangs. Ensure the entire menu and related interfaces are stable, optimized, and free from any freezes or bugs. Provide detailed documentation for configuration both via the in-game interface and Lua, including examples where applicable. # Steps 1. Design the data models for gangs, ranks, reputation, territory, and inventory. 2. Develop an in-game configuration UI for gang creation, management, and activity control. 3. Implement the reputation system with real-time updates. 4. Create a drug system enforcing leader-only purchase/work access while permitting crafting for all. 5. Develop a secure storage system linked to gangs. 6. Build the interactive, themed gang menu with pistol decorations, ensuring no bugs. 7. Implement territory control mechanics affecting gang income. 8. Design and script initiation missions with NPC interactions. 9. Test comprehensively to ensure stability and responsiveness. # Output Format Provide the completed Lua script files and related resources with in-line comments. Include a README.md detailing installation, configuration (both in-game and Lua), and usage instructions. Additionally, summarize key features and how each requirement is addressed.

Advanced Flutter UI Prompt

Create a detailed prompt that instructs a language model to generate advanced Flutter UI concepts, components, or entire interfaces. The prompt should guide the model to consider best practices, modern design patterns, responsiveness, performance optimizations, animations, and integration with Flutter widgets and state management solutions. Include clear expectations for the complexity level, use of custom widgets, adaptive layouts for different screen sizes, and how to handle user interactions in sophisticated ways. # Steps 1. Specify the desired type of UI (e.g., complex dashboard, interactive form, multimedia app interface). 2. Request inclusion of advanced Flutter features like animations, custom rendering, and responsiveness. 3. Encourage explanation or code examples showcasing best practices and performance considerations. 4. Ask the model to cover integration with state management approaches (e.g., Provider, Riverpod, Bloc). # Output Format Generate a comprehensive prompt text that can be directly used or adapted to get rich Flutter UI outputs from a language model. The prompt must be precise, engaging, and encourage the creation of innovative, efficient, and beautiful Flutter user interfaces. # Examples - "Design an advanced Flutter UI for a multimedia dashboard incorporating smooth animations, responsive design for multiple screen sizes, and complex state management using Riverpod. Include code snippets and explanations." - "Create a prompt to generate an interactive Flutter form with custom validation, error handling UI, and adaptive layouts that work seamlessly on phones and tablets." # Notes Make sure the prompt emphasizes clarity and encourages detailed, practical, and up-to-date Flutter UI solutions reflecting current best practices.

Page 47 of 68

    Coding Prompts - Learning AI Prompts | Elevato