Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: pickups
1. DayZ Pickups
Cze??, zajmuj? si? obecnie usuwaniem b??d?w z gamemode dayz, jednak nie mam poj?cia dlaczego tu owy b??d si? pojawia.

Wyst?puje on na tym kawa?ku kodu:
[lua]function createPickupsOnServerStart()
iPickup = 0
for i,pos in ipairs(pickupPositions["residential"]) do
iPickup = iPickup + 1
createItemLoot("residential",pos[1],pos[2],pos[3],iPickup)
end
setTimer(createPickupsOnServerStart2,5000,1)
end[/lua]

Odwo?uje si? on do tego kawa?ka:
[lua]["residential"] = {
{"Box of Matches",328,0.4,90,5},
{"Wood Pile",1463,0.4,0,5},
{"M1911",346,1,90,1.5},
{"M9 SD",347,1,90,1.9},
{"Winchester 1866",349,1,90,0.1},
{"PDW",352,1,90,1},
{"Hunting Knife",335,1,90,3},
{"Hatchet",339,1,90,1},
{"Pizza",1582,1,0,7},
{"Soda Bottle",2647,1,0,7},
{"Empty Gas Canister",1650,1,0,9},
{"Roadflare",324,1,90,9},
{"Milk",2856,1,0,7},
{"Assault Pack (ACU)",3026,1,0,6},
{"Painkiller",2709,3,0,7},
{"Empty Soda Cans",2673,0.5,0,12},
{"Scruffy Burgers",2675,0.5,0,12},
{"Grenade",342,1,0,0.01},
{"Desert Eagle",348,1,90,0.4},
{"Sawn-Off Shotgun",350,1,90,0.3},
{"SPAZ-12 Combat Shotgun",351,1,90,0.4},
{"MP5A5",353,1,90,0.4},
{"Watch",2710,1,0,3},
{"Heat Pack",1576,5,0,6},
{"Wire ...