| Tematy otagowane jako: helicrash |
| 1. helicrash blip |
Dopisa?em aby po usuni?ciu helicrasha usuwaly si? blipy ale one zostaj? i nak?adaja sie na siebie ka?y wie jak dzialaja helicrashe na serwerach DayZ, prosz? o pomoc bo nie mam poj?cia dlaczego te blipy sie nie usuwaj?
[lua]function createHeliCrashSite()
if cargoCol then
destroyElement(getElementData(cargoCol,"blip"))
destroyElement(getElementData(cargoCol,"parent"))
destroyElement(cargoCol)
end
local item_id = math.random(table.size(heliCrashSites))
local x,y,z = heliCrashSites[item_id][1],heliCrashSites[item_id][2],heliCrashSites[item_id][3]
cargobob = createVehicle(548,x,y,z,nil,nil,nil)
cargobob1 = createBlip(x,y,z,5)
setElementData(cargoCol,"blip",cargobob1)
blowVehicle(cargobob)
setElementFrozen(cargobob,true)
setVehicleLocked(cargobob,true)
cargoCol = createColSphere(x,y,z,3)
setElementData(cargoCol,"parent",cargobob)
setElementData(cargoCol,"helicrash",true)
setElementData(cargoCol,"MAX_Slots",0)
setElementData(cargoCol, "M4", 13)
setElementData(cargoCol, "Coyote Backpack", 5)
setElementData(cargoCol, "M4 Mag", 25)
setElementData(cargoCol, "MP5A5", 13)
setElementData(cargoCol, "MP5A5 Mag", 25)
setElementData(cargoCol, "Ghillie Suit", 7)
setElementData(cargoCol, "GPS", 15)
setElementData(cargoCol, "... |
| 2. helicrash |
Owy blip kt?ry si? respi nie usuwa si? jak respi si? nast?pny helicrash
chcia? bym aby blip po godzinie si? usuwa? i gdy zrespi si? za 1 godzine nast?pny helicrash to blip respi si? na nowym helicrashu ka?dy wie jak wygl?da to na dayz
[lua]function createHeliCrashSite()
if cargoCol then
destroyElement(getElementData(cargoCol,"parent"))
destroyElement(cargoCol)
end
local item_id = math.random(table.size(heliCrashSites))
local x,y,z = heliCrashSites[item_id][1],heliCrashSites[item_id][2],heliCrashSites[item_id][3]
cargobob = createVehicle(548,x,y,z,nil,nil,nil)
cargobob1 = createBlip(x,y,z,5)
blowVehicle(cargobob)
setElementFrozen(cargobob,true)
setVehicleLocked(cargobob,true)
cargoCol = createColSphere(x,y,z,3)
setElementData(cargoCol,"parent",cargobob)
setElementData(cargoCol,"helicrash",true)
setElementData(cargoCol,"MAX_Slots",0)
setElementData(cargoCol, "M4", 13)
setElementData(cargoCol, "Coyote Backpack", 5)
setElementData(cargoCol, "M4 Mag", 25)
setElementData(cargoCol, "MP5A5", 13)
setElementData(cargoCol, "MP5A5 Mag", 25)
setElementData(cargoCol, "Ghillie Suit", 7)
setElementData(cargoCol, "GPS", 15)
setElementData(cargoCol, "Map", 15)
setElementData(cargoCol, "CZ 550", 8)
setElementData(cargoCol, "CZ 550 Mag", 16)
setElem... |
|