ummmmmm where is the link?
1 Like
Simple yet great 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!
i tried to remove the part that you are telling me , with no reason , it doesn’t spawn
hichay
June 19, 2019, 9:10am
16
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
WaltTV
June 19, 2019, 2:46pm
19
what_a_nothin:
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”}
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
[etomug] [recieved]
[esx_mugging demo]
Change Log:
Latest Version:
Added cooldown time in Config.CoolDownTime. Default is set to 30 sec, set to 0 to turn off cooldown.
Added Config.MustUseVoice in config as well. This will make it so the player has to use ingame voice to activate the mugging.
( I want to add a timeout in this so if you do not hit E or Use voice to start the mugging after a certain time the ped will run away but need find the best solution to get this coded in.…
idk why but i cant add npcs