sTRoffical

İnsan büyür beşikte, Mezarda yatmak için!
Admin
T.C Vatandaşı
27 Mar 2020
840
141
Çevrimiçi zamanı
3d 21h 21m
33
IĞDIR
Best answers
0
Oyuncu
Csgo, valorant, pubg
Herhangi bir scriptteki client.lua içerisine aşağıdaki kodu ekliyoruz.
Kod:
Citizen.CreateThread(function()
    RequestModel(GetHashKey("u_f_y_princess"))
    while not HasModelLoaded(GetHashKey("u_f_y_princess")) do
        Wait(1)
    end
    npc = CreatePed(1, GetHashKey("u_f_y_princess"), x, y, z, heading, false, true)
    SetPedCombatAttributes(npc, 46, true)               
    SetPedFleeAttributes(npc, 0, 0)               
    SetBlockingOfNonTemporaryEvents(npc, true)
    SetEntityAsMissionEntity(npc, true, true)
    SetEntityInvincible(npc, true)
    FreezeEntityPosition(npc, true)
end)

-ÖRNEK NPC RESMİ-
1.jpg
Npc'yi nereye koymak istiyorsan ona göre x,y,z ve heading ayarlamayı unutmayın iyi forumlar.
 
Üst