colocando npc fixo
como colocar npc fixo na city -------------------------------------------------------------------------------------------------------------------------- Código: local pedlist = { { ['x'] = 453.6, ['y'] = -600.63, ['z'] = 28.6, ['h'] = 266.90, ['hash'] = 0x69E8ABC3, ['hash2'] = "cs_tom" }, { ['x'] = -335.31, ['y'] = -1514.51, ['z'] = 27.58, ['h'] = 215.93, ['hash'] = 0x14D7B4E0, ['hash2'] = "s_m_m_dockwork_01" }, } CreateThread(function() for k,v in pairs(pedlist) do RequestModel(GetHashKey(v.hash2)) while not HasModelLoaded(GetHashKey(v.hash2)) do Wait(100) end ped = CreatePed(4,v.hash,v.x,v.y,v.z-1,v.h,false,true) peds = ped FreezeEntityPosition(ped,true) SetEntityInvincible(ped,true) SetBlockingOfNonTemporaryEvents(ped,true) end end) --------------------------------------------------------------------------------- Site peds: https://web.archive.org/web/20200506174348/https://wiki.rage.mp/index.php?title=Peds -------------------------------------------------------------------------------------- Discord: https://discord.gg/7gHZ3StCsP Instagram: @expertgame32 -------------------------------------------------------------------------------------------------------------------------- Canal focado em Games , Dicas de Criação de Server de RP e Dicas de GTA V Online Quer receber todas as dicas e acompanhar canal de perto? Inscreva-se🔝
Download
0 formatsNo download links available.