[Release] Script to add npcs where you want

:star: HELLO ON MY POST :star:
:star: RESOURCE NAME : NPCS :star:
:star: WHAT IT DOES : ADDS NPCS ON THE MAP WHERE YOU WANT , WITH WHAT HASH YOU WANT , WITH WHAT MODEL YOU WANT AND WITH WHAT NAME YOU WANT :star:

:star: CREATOR : ALEXMIHAI04 :star:
:star: IMAGES :star:
image

:star: INSTALL :star:
-Go to your resources folder.
-Drop the resource in the folder
-Start the resource in the server.cfg

:star: USING THE SCRIPT :star:
What you need to do is to go into the client.lua from the script and modify the “coordonate”

:star: EXPLANATION :star:
-The first 3 numbers are the coordonates
-The 4th value is the ped name , for the drawtext
-The 5th number is the ped heading (where he is looking)
-The 6th element is the ped hash , you can get it from the internet , i don’t have permission to give you the site
-The 7th element is the ped name

DOWNLOAD

:star: ENJOY :star:

35 Likes

ummmmmm where is the link?

1 Like

forgot

2 Likes

done
(chars)

Simple yet great :slight_smile: Keep up the good work.

Cool release, one thing I noticed is why get the user to input the ped hash when you can get the hashkey by using the ped name alone, plus you are already doing it when requesting the ped in the first place.

That’s a hell of a lot of stars!

thank you

i tried to remove the part that you are telling me , with no reason , it doesn’t spawn

Great release brother!

1 Like

thank you

Thank you for System :hugs::blush:

Thank you nice release

After take a look at the code. this is a simple system like peds. nothing special. already have it.

I noted that in the post when i created it, it is a simple script

Im having a problem when i try to add a new npc it dont appears and the other dissapears, have this:

Blockquote:
local coordonate = {
{-56.800365447998,-785.83428955078,43.227298736572,“Smecherica”,500.77,0xC99F21C4,“a_m_y_business_01”},
{441.06457519531,-978.93707275391,29.689584732056,“Agent Politie”,535.77,0x15F8700D,“s_f_y_cop_01”},
{446.60791015625,-988.55383300781,29.689584732056,“Garda Politie”,370.77,0x56C96FC6,“s_m_m_prisguard_01”},
{-1570.9993896484,-574.92303466797,107.52293395996,“Registru comertului”,381.77,0xC99F21C4,“a_m_y_business_01”}
{483.85,-979.76,30.69,“Armero”,85.08,0x90EF5134,“u_m_y_juggernaut_01”}

1 Like

You are missing a comma. You need a comma after each entry. Give this a try:

local coordonate = {
{-56.800365447998,-785.83428955078,43.227298736572,“Smecherica”,500.77,0xC99F21C4,“a_m_y_business_01”},
{441.06457519531,-978.93707275391,29.689584732056,“Agent Politie”,535.77,0x15F8700D,“s_f_y_cop_01”},
{446.60791015625,-988.55383300781,29.689584732056,“Garda Politie”,370.77,0x56C96FC6,“s_m_m_prisguard_01”},
{-1570.9993896484,-574.92303466797,107.52293395996,“Registru comertului”,381.77,0xC99F21C4,“a_m_y_business_01”},
{483.85,-979.76,30.69,“Armero”,85.08,0x90EF5134,“u_m_y_juggernaut_01”}

1 Like

now the other npcs appear but the one who i want to add no appear… and you know how to change de name color?

Can the following code work with your code? Can you do that? I try it but I can’t

idk why but i cant add npcs