[FREE STANDALONE] PED SPAWNER w/UI | v2.0.0

Hello,

I will add this into Github TODO List as a taggable Option Via the config but would not be Showing on the UI If i do add it most likely.

1 Like


I was very excited to use it but I think it doesn’t work, no matter what I do I get this kind of error, I’m not modifying anything at all I just downloaded the file and put it in my folder and every time I try to open the iu, I get this, a shame it seemed like a really cool resource.

That will probs be from when kasey added in the spam print, if you go into the client.lua and there will be a set of 3 linest @ line 114-116 you can just comment them out

    --    if GetCurrentResourceName() ~= "LNWK-NPCs" then
    --        print("Please dont edit the resource name :(")
    --  end

but is not working for me either, trying to spawn the iu menu and nothing happen. I hace check the keys to press too.

will animals be included ??

Yes animals are included :slight_smile:

1 Like

It’s also possible to spawn custom peds?

Yes,

If you go into html>index.html and at the top what you would do is the following

scroll down till you find

<div class="modal-options">
                <img src="https://docs.fivem.net/peds/a_f_m_bevhills_01.webp" alt="Ped Model 2" />
                <p>a_f_m_bevhills_01</p>
                <button class="modal-btn" data-option="a_f_m_bevhills_01" data-btn="ped-model-btn" data-modal="ped-model-modal">a_f_m_bevhills_01</button>
            </div>

Omce you are there you wil replace the following

<div class="modal-options">
                <img src="image host link" alt="Ped Model 2" />
                <p>ped_spawn_code</p>
                <button class="modal-btn" data-option="ped_spawn_code" data-btn="ped-model-btn" data-modal="ped-model-modal">ped_spawn_code</button>
            </div>

You do not need to replace them with the exact parts that is there but makes it cleaner and follows the layout and theme that we went with in the original project.

1 Like

thank you ive been looking for something that has all land, air, and marine animals great script

Hello, where should I enter this?

The Resource No-longer supports command use and is all based within Our UI. This was the case since release Version 2.0 Release

hey i cant get the ui to come iv tired changing keybinds

Make sure that you are listed as an admin at the bottom of your Server.cfg
add_principal identifier.fivem:Your_FivemID_Here group.admin

There is no UI, wenn i Press the Hotkey : (

the script itself worked nice, the mp clothes worked perfect but it broke gabz davis pd mlo, i was so excited to use it lol, tried everything but i cannot put a ped inside gabz davis with this so i figured id have issues with other gabz mlos so i uninstalled, hopefully therell be a fix in the future

The script itself alone Should not cause any sort of interferences with a Map? And if it dose then that’s something that i have never had While using any of Gabz’s Maps in Play while using the resources.

Hello! What is the comand to open ui? I try the /PlacePed but still the old ways

By default i set it as capslock (i dont know why i done this tbh)

You can change this on Client.lua @ Line 192

RegisterKeyMapping('UI TRUE', 'UI OPEN', 'keyboard', 'CAPITAL')

TriggerEvent('chat:addSuggestion', '/ui', 'Update UI with a message (true/false)', {
    { name = "update", help = "true or false" }
})

You can find the Keybinds here, Due to me No longer using the platform i dont intend on changing this sadly
https://docs.fivem.net/docs/game-references/controls/

1 Like

Is there an option to increase the distance at which NPCs appear?

You can change this inside of the Client.lau on line 69 You can change that by editing the following

 -- Spawn NPC if within range and not already spawned
            if distance <= 50.0 then
                if not npcExists then
                    print(string.format("Spawning NPC: %s", npcConfig.name))