Szerző Téma: NPC Eltűnés  (Megtekintve 625 alkalommal)

Nem elérhető Daniii

  • 144
    • Profil megtekintése
NPC Eltűnés
« Dátum: 2017. június 12. - 21:28:56 »
0 Show voters
EDIT: Megoldottam, zárom.
 
Rakom be az NPC - ket, egy ideig jól ment, de restart után az összes eltűnt.
 
Itt a kód:
 

addEventHandler(\"onResourceStart\", resourceRoot,
function()
local ped1 = createPed(287, 213.94921875, 1901.6005859375, 17.640625, 358.43167114258)
setElementDimension( ped1, 0)
setElementFrozen( ped1, true)
local ped2 = createPed(287, 202.6396484375, 1862.28515625, 13.140625, 233.1197052002)
setElementDimension( ped2, 0)
setElementFrozen( ped2, true)
local ped3 = createPed(287, 204.8046875, 1860.69140625, 13.140625, 57.099578857422)
setElementDimension( ped3, 0)
setElementFrozen( ped3, true)
local ped4 = createPed(287, 240.7099609375, 1845.9931640625, 8.7578125, 235.07530212402)
setElementDimension( ped4, 0)
setElementFrozen( ped4, true)
local ped5 = createPed(287, 242.2099609375, 1844.734375, 8.7578125, 34.851928710938)
setElementDimension( ped5, 0)
setElementFrozen( ped5, true)
local ped6 = createPed(287, 248.005859375, 1841.7138671875, 8.7578125, 355.9981689453)
setElementDimension( ped6, 0)
setElementFrozen( ped6, true)
local ped7 = createPed(70, 266.265625, 1841.19140625, 6.834397315979, 264.81573486328)
setElementDimension( ped7, 0)
setElementFrozen( ped7, true)
local ped8 = createPed(276, 267.76171875, 1840.7373046875, 6.7591943740845, 80.742492675781)
setElementDimension( ped8, 0)
setElementFrozen( ped8, true)
local ped9 = createPed(287, 228.015625, 1822.7666015625, 7.4140625, 269.2268371582)
setElementDimension( ped9, 0)
giveWeapon(ped9, 31, 5000, true)
setElementFrozen( ped9, true)
local ped10 = createPed(287, 226.5458984375, 1818.1533203125, 7.3274579048157, 339.10092163086)
setElementDimension(ped10, 0)
giveWeapon(ped10, 31, 5000, true)
setElementFrozen(ped10, true)
local ped11 = createPed(287, 226.232421875, 1827.3037109375, 7.3123545646667, 208.15289306641)
setElementDimension(ped11, 0)
giveWeapon(ped11, 31, 5000, true)
setElementFrozen(ped11, true)
local ped12 = createPed(287, 218.9677734375, 1815.693359375, 6.533763885498, 357.99771118164)
setElementDimension(ped12, 0)
giveWeapon(ped12, 31, 5000, true)
setElementFrozen(ped12, true)
local ped13 = createPed(287, 218.7060546875, 1830.064453125, 6.5100493431091, 182.21377563477)
setElementDimension(ped13, 0)
giveWeapon(ped13, 31, 5000, true)
setElementFrozen(ped13, true)
local ped14 = createPed(165, 213.1669921875, 1822.873046875, 6.4140625, 89.152648925781)
setElementDimension(ped14, 0)
setElementFrozen(ped14, true)
local ped15 = createPed(166, 213.453125, 1825.9072265625, 6.4140625, 58.132293701172)
setElementDimension(ped15, 0)
setElementFrozen(ped15, true)
local ped16 = createPed(165, 214.162109375, 1819.421875, 6.4140625, 116.1025390625)
setElementDimension(ped16, 0)
setElementFrozen(ped16, true)
local ped17 = createPed(147, 217.0107421875, 1822.66015625, 6.4140625, 270.26504516602)
setElementDimension(ped17, 0)
setElementFrozen(ped17, true)
local ped18 = createPed(255, 220.1865234375, 1825.6162109375, 6.4140625, 178.76953125)
setElementDimension(ped18, 0)
setElementFrozen(ped18, true)
local ped19 = createPed(283, 220.2275390625, 1819.8076171875, 6.4140625, 1.4200134277344)
setElementDimension(ped19, 0)
setElementFrozen(ped19, true)
local ped20 = createPed(164, 234.943359375, 1824.7353515625, 7.4140625, 268.04577636719)
setElementDimension(ped20, 0)
setElementFrozen(ped20, true)
local ped21 = createPed(163, 234.7421875, 1820.564453125, 7.4140625, 273.51705932617)
setElementDimension(ped21, 0)
setElementFrozen(ped21, true)
local ped22 = createPed(164, 238.537109375, 1803.40625, 7.4140625, 273.97848510742)
setElementDimension(ped22, 0)
setElementFrozen(ped22, true)
local ped23 = createPed(287, 232.3017578125, 1935.072265625, 33.8984375, 357.59121704102) -- őrtorony 1 --
setElementDimension(ped23, 0)
giveWeapon(ped23, 31, 5000, true)
setElementFrozen(ped23, true)
local ped24 = createPed(287, 234.5537109375, 1935.072265625, 33.8984375, 0.58502197265625) -- őrtorony 1 --
setElementDimension(ped24, 0)
giveWeapon(ped24, 31, 5000, true)
setElementFrozen(ped24, true)
local ped25 = createPed(312, 230.255859375, 1906.4833984375, 17.640625, 272.89630126953) -- kiképzés --
setElementDimension(ped25, 0)
setElementFrozen(ped25, true)
local ped26 = createPed(287, 233, 1902.431640625, 17.640625, 88.993347167969) -- kiképzés --
setElementDimension(ped26, 0)
setElementFrozen(ped26, true)
local ped27 = createPed(287, 233, 1903.615234375, 17.640625, 87.422271728516) -- kiképzés --
setElementDimension(ped27, 0)
setElementFrozen(ped27, true)
local ped28 = createPed(287, 233, 1904.6875, 17.640625, 96.826751708984) -- kiképzés --
setElementDimension(ped28, 0)
setElementFrozen(ped28, true)
local ped29 = createPed(287, 233 1905.5791015625, 17.640625, 80.841369628906) -- kiképzés --
setElementDimension(ped29, 0)
setElementFrozen(ped29, true)
local ped30 = createPed(287, 233, 1906.8671875, 17.640625, 82.7255859375) -- kiképzés --
setElementDimension(ped30, 0)
setElementFrozen(ped30, true)
local ped31 = createPed(287, 233, 1907.9248046875, 17.640625, 88.361633300781) -- kiképzés --
setElementDimension(ped31, 0)
setElementFrozen(ped31, true)
end
)

 
 
« Utoljára szerkesztve: 2017. június 12. - 21:31:20 írta Daniii »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal