Jump to content
πŸ‘‘
Loja VIP

Find Mods & Resources Fivem

Select a category for targeted search
Scripts Carros Roupas MLOs/Maps HUD InventΓ‘rio Painel ADM Scripts FIVEMDEV +

Locked codigo nao funciona totalmente


Go to solution Solved by Hideki,

Recommended Posts

RegisterCommand('npc',function(source)

Β  Β  local user_id = vRP.getUserId(source)

Β  Β  local identity = vRP.getUserIdentity(user_id)

Β  Β  local hash2 = "cs_tom"

Β  Β  local x,y,z = vRPclient.getPosition(source)

Β  Β  local hash = 0x69E8ABC3

Β  Β  local h = GetEntityHeading(GetPlayerPed(-1))

Β 

Β  Β  if vRP.hasPermission(user_id,"admin.permissao") then Β  Β 

Β  Β  Β  Β  ped = CreatePed(4,hash,x,y,z,h,false,true)

Β  Β  Β  Β  peds = ped

Β  Β  Β  Β  FreezeEntityPosition(ped,true)

Β  Β  Β  Β  SetEntityInvincible(ped,true)

Β  Β  Β  Β  SetBlockingOfNonTemporaryEvents(ped,true)

Β  Β  end

end)

alguem consegue dizer por que o ped nao esta vindo com invencibilidade nem bloqueando os eventos, ele esta vindo apenas parado na coordenada

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • [CEO]
  • Solution

OlΓ‘! Bem vindo.

NΓ£o sei exatamente o que vocΓͺ precisa, porΓ©m tente isso:

Hidden Content Login required

This is the hidden content, please

Caso nΓ£o funcione, de uma olhada nesse script Standalone:

Hidden Content Login required

This is the hidden content, please

Atenciosamente,

Blue and White Modern Healthcare Home Service Leaderboard Ad.gif

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.



Γ—
Γ—
  • Create New...

Important Information

Esse website utiliza Cookies, se continuar navegando vocΓͺ concordar na usabilidade.