Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2016-07-25, 11:29


OskarYT

Mapper MTA






Wiek: 26
Na forum: 4245 dni
Posty: 267
Nick w MP: Kaczorek2306

Piwa: 1230

Respekt: 85,3

pomo?e kto? ( wyt?umaczy ) jak si? dodaje pojazdy na sw?j serwer DayZ ?
w jakich plikach trzeba dopisa? wszystkie funkcje aby pojazd si? zrespil

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-07-25, 11:36


GabWas







Wiek: 24
Na forum: 3881 dni
Posty: 289
Nick w MP: GabWas

Piwa: 65

Respekt: 231,5
Respekt: 231,5Respekt: 231,5


Więcej informacji znajdziesz w Wikipedii MTA:

createVehicle


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-07-25, 19:22


OskarYT

Mapper MTA






Wiek: 26
Na forum: 4245 dni
Posty: 267
Nick w MP: Kaczorek2306

Piwa: 1230

Respekt: 85,3

GabWas, Od kiedy na DayZ dodaje si? t? funkcj? ?
w tym skrypcie doda?em kordy pojazd?w aby si? zrespia?y a si? nie respi?
shownInfos = {}

    shownInfos["nomag"] = "No magazines left for this weapon!"
    shownInfos["youconsumed"] = "You consumed"
    shownInfos["needwatersource"] = "You have to be inside a body of water!"
    shownInfos["filledup"] = "You filled your Water Bottle up!"
    shownInfos["noradio"] = "You have no Radio Device!"
    
--GAMEPLAY SETUP
gameplayVariables = {}

    gameplayVariables["zombieblood"] = 6000 -- Zombie Blood/Health - DEFAULT: 6000
    gameplayVariables["foodrestore"] = math.random(40,100) -- Amount of hunger to be restored when eating - DEFAULT: math.random(40,100) - FOR FULL RESTOREJUST WRITE 100
    gameplayVariables["thirstrestore"] = math.random(40,100) -- Amount of hunger to be restored when drinking - DEFAULT: math.random(40,100) - FOR FULL RESTOREJUST WRITE 100
    gameplayVariables["loseHunger"] = -1.5 -- Amount of losing hunger per minute - DEFAULT: -1.5
    gameplayVariables["loseThirst"] = -1.5 -- Amount of losing thirst per minute - DEFAULT: -1.5
    gameplayVariables["playerzombies"] = -- Amount of spawning zombies per player - DEFAULT: THE HIGHER THIS VALUETHE MORE LAG CAN OCCUR!
    gameplayVariables["amountzombies"] = -- Amount of zombies - DEFAULT: THE HIGHER THIS VALUETHE MORE LAG CAN OCCUR!
    gameplayVariables["temperaturewater"] = -0.01 -- Amount of temperature to be lost when in water - DEFAULT: -0.01
    gameplayVariables["temperaturesprint"] = 0.005 -- Amount of temperature to be gained when sprinting - DEFAULT: 0.005
    gameplayVariables["sprintthirst"] = -0.2 -- Amount of losing thirst when sprinting - DEFAULT: -0.2
    gameplayVariables["enablenight"] = true -- Whether or not the night should be darker - DEFAULT: true SET TO false to disable remember you need to set it in editor_client.lua too.
    gameplayVariables["itemrespawntimer"] = 14400000 -- Number of milliseconds that should elapse before the items will respawnNoteYou can also just do 14400000/2 to make it the half from the current (division).

    
-- SERVER BACKUP
    gameplayVariables["backupenabled"] = true -- Whether or not backup should be enabledBackup saves all tentsaccounts vehicles. - DEFAULT: true Set to false to disable backup.
    gameplayVariables["backupinterval"] = 86400000 -- Number of milliseconds that should elapse before backupMinimum50. 1000 milliseconds 1 second. - DEFAULT: 86400000 (= 24 hours)

    
    
-- VEHICLE SPAWNPOINTS
-- HUNTER
gameplayVariables["hunterspawns"] = 
{
{-1185.9775390625,26.4111328125,14.1484375},
{-1724.5830078125,2559.3544921875,104.09127807617},
{615.744140625,850.1572265625,-43.009014129639},
{232.5283203125,1950.3583984375,17.640625},
{-1050.5859375,1968.033203125,120.66523742676},
{2821.03515625,2809.6689453125,10.8203125},
{1949.9912109375,-2631.44140625,13.546875},
{-756.53979492188,-2137.5471191406,26.463499069214},
}

-- PATRIOT
gameplayVariables["patriotspawns"] =
{
{-1473.5791015625,320.2294921875,7.1875},
{-1373.998046875,460.62109375,7.1875},
{419.150390625,2186.087890625,39.499450683594},
{2821.1796875,793.4658203125,10.8984375},
{359.566986083981974.247314453126.726179122925},
{-1666.146484375424.07714843757.1796875},
}

-- PICKUP
gameplayVariables["pickupspawns"] =
{
{-2479.6240234375,2223.6669921875,4.84375},
{-92.9951171875,2823.0908203125,76.721649169922},
{-2448.99609375,-1335.8662109375,310.97662353516},
{-173.2470703125,-2635.5341796875,26.608192443848},
{2108.447265625,-1600.916015625,13.552597045898},
{2452.7392578125,1607.9833984375,10.8203125},
{-1800.8984375,-1950.9736328125,93.561332702637},
}

-- SANCHEZ
gameplayVariables["sanchezspawns"] = 
{
{-812.470703125,-2629.912109375,90.105056762695},
{-1729.8525390625,-1940.3154296875,99.840209960938},
{-2130.90234375,178.4375,35.257678985596},
{-2656.7333984375,1352.4873046875,7.0596733093262},
{-1598.302734375,2694.947265625,55.07092666626},
{-809.96484375,2430.037109375,156.97012329102},
{2920.38671875,2486.0087890625,10.8203125},
{505.732421875,-291.8681640625,20.00952911377},
{-428.8828125,-694.8310546875,19.14847946167},
{1190.41015625,-2109.0341796875,64.738548278809},
{1658.9716796875,-1069.0224609375,23.906229019165},
}

-- BARRACKS
gameplayVariables["barracksspawns"] =
{
{86.486328125,1950.9013671875,17.846803665161},
{440.185546875,1464.173828125,6.3338670730591},
{-1666.146484375424.07714843757.1796875},
}

-- COACH
gameplayVariables["coachspawns"] =
{
{-1971.4619140625,97.4658203125,27.6875},
{1735.8720703125,1429.0693359375,10.797702789307},
{2797.1318359375,-1868.8359375,9.8603811264038},
{1941.900390625,1975.1904296875,7.59375},
}

-- FISHERBOAT
gameplayVariables["fisherboatspawns"] =
{
{2463.3984375,-2719.638671875,-0.55000001192093},
{-1577.4873046875,182.353515625,-0.53995263576508},
{-806.80859375,2233.7001953125,40.049976348877},
{-127.4453125,-779.6923828125,-0.55000001192093},
}

-- BIKE
gameplayVariables["bikespawns"] =
{
{194.685546875,-120.2333984375,1.5497757196426},
{173.0146484375,-95.0634765625,1.5516006946564},
{2369.9599609375,29.712890625,28.0416431427},
{710.87109375,-566.7548828125,16.3359375},
{1109.6025390625,-1667.6689453125,13.615442276001},
{2014.6689453125,-1113.4013671875,26.203125},
{2447.41015625,-1967.1845703125,13.546875},
{2633.7236328125,1835.291015625,11.0234375},
{1489.3974609375,2681.54296875,10.8203125},
{-2428.5654296875,2280.875,4.984375},
{-2501.0869140625,2224.880859375,4.9861993789673},
{-2142.8515625,-2457.84765625,30.625},
{-2456.078125,-141.115234375,26.112222671509},
{-1881.4453125,954.3837890625,35.171875},
}

-- MAVERICK
gameplayVariables["maverickspawns"] = 
{
{-1495.888671875,-2691.40234375,57.325229644775},
{-2688.42578125,1471.634765625,7.1875},
{-1534.28125,2842.9482421875,97.463409423828},
{2221.8583984375,-1344.396484375,23.984273910522},
}

-- TENTS (REFERS TO SURVIVOR CAMPS!!!)
gameplayVariables["tentsspawns"] =
{
{-2845.060546875,2761.2509765625,242.69204711914},
{-1095.94921875,-1450.958984375,126.92543029785},
{2607.1357421875,-510.4755859375,80.744903564453},
{-1509.2333984375,-1986.443359375,50.071846008301},
}

-- HELI CRASH SIDES
gameplayVariables["helicrashsides"] = 
{
{-1360.0478515625,-1070.7314453125,160.4069519043},
{-421.4619140625,-1284.4345703125,33.740924835205},
{-2357.654296875,-1634.3623046875,483.703125},
{979.0849609375,160.59375,28.935249328613},
{-2057.2294921875,2781.73828125,163.12780761719},
{826.90234375,2803.6259765625,74.863929748535},
{2577.7060546875,-650.541015625,136.37449645996},
}



doda?em ten i ten a si? nie respi
{-1666.146484375424.07714843757.1796875},
w zak?adce Patriot
i ten
{-1666.146484375424.07714843757.1796875},
w zak?adce Barracks

Podpis
Postaw piwo autorowi tego posta
 

 
Tagi: dayz :: pojazdu
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku