Skip to content

jonathan0626/jonathan_npc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jonathan_NPC

Introduction

Jonathan_NPC is a FiveM script that allows you to create and manage customizable NPCs in GTA V. You can define NPCs with specific models, animations, and floating text, as well as fetch player appearances based on unique identifiers.

Features

  • Create NPCs with detailed configurations
  • Define NPC animations and floating text
  • Fetch and apply player appearances using unique identifiers

Installation

  1. Clone the repository to your FiveM resources directory:

    git clone https://github.com/JonathanPeng0626/jonathan_npc.git
  2. Add the resource to your server configuration file:

    ensure jonathan_npc

Configuration

Edit the config.lua file to customize your NPCs and their behaviors. Below is an example of how to configure an NPC:

Config.NPCs = {
    {
        model = "mp_m_freemode_01",
        coords = vector4(-461.3892517089844, 1112.4698486328125, 331.4231567382813, -90),
        face = { shapefirst = 10, shapesecond = 0, mixpercentage = 0.5 },
        hair = { drawableId = 0, textureId = 0, paletteId = 1 },
        arms = { drawableId = 0, textureId = 0, paletteId = 1 },
        pants = { drawableId = 0, textureId = 0, paletteId = 1 },
        shoes = { drawableId = 0, textureId = 0, paletteId = 1 },
        accs = { drawableId = 0, textureId = 0, paletteId = 1 },
        jbib = { drawableId = 0, textureId = 0, paletteId = 1 },
        animation = { dict = "gestures@m@standing@casual", name = "gesture_hello" },
        text = "Welcome to the city"
    },
}

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Contact

If you have any questions or feedback, please feel free to reach out to me. Your input is greatly appreciated.

About

A FiveM script that allows you to create and manage customizable NPCs in GTA V. You can define NPCs with specific models, animations, and floating text, as well as fetch player appearances based on unique identifiers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages