Wysłany: 2016-12-31, 00:54
BoCzKu
Mapper & Lua
Wiek: 24 Na forum: 3465 dni Posty: 87
Nick w MP: BoKu
Piwa : 331
Witam. Naprawi mi kto? ten kod ? Bo pr?bowa?em wszystkiego i nadal tego nie moge zrobi?. Je?eli kto? to ogarnia prosze po POMOC !
--SERVER OUTPUTS
shownInfos = {}
shownInfos [ "nomag" ] = "Sem muni?ão!"
shownInfos [ "youconsumed" ] = "Comeu ou Bebeu :"
shownInfos [ "needwatersource" ] = "Você precisa estar nadando!"
shownInfos [ "filledup" ] = "Você encheu a sua Garrafa de ?gua!"
shownInfos [ "noradio" ] = "Você não Radio Device filho!"
-- GAMEPLAY SETUP
gameplayVariables = {}
gameplayVariables [ "zombieblood" ] = 10 -- 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 RESTORE , JUST WRITE 100
gameplayVariables [ "thirstrestore" ] = math . random ( 40 , 100 ) -- Amount of hunger to be restored when drinking - DEFAULT: math . random ( 40 , 100 ) - FOR FULL RESTORE , JUST 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" ] = 6 -- Amount of spawning zombies per player - DEFAULT: 6 - THE HIGHER THIS VALUE , THE MORE LAG CAN OCCUR !
gameplayVariables [ "amountzombies" ] = 4 -- Amount of zombies - DEFAULT: 10 - THE HIGHER THIS VALUE , THE 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" ] = false -- 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" ] = 14000000 -- Number of milliseconds that should elapse before the items will respawn . Note : You 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 enabled . Backup = saves all tents , accounts & vehicles . - DEFAULT: true - Set to false to disable backup .
gameplayVariables [ "backupinterval" ] = 8400000 -- Number of milliseconds that should elapse before backup . Minimum : 50. - 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 },
}
-- CARGOBOB
gameplayVariables [ "cargobobspawns" ] =
{
}
-- REGINA
gameplayVariables [ "reginaspawns" ] =
{
{ 280.61630249023 , 2020.4465332031 , 17.640625 },
{ 138.6126 , 1784.9572 , 17.6406 , 98.7775 },
}
-- CLOVER
gameplayVariables [ "cloverspawns" ] =
{
}
-- CARRO DE POLICIA
gameplayVariables [ "copspawns" ] =
{
}
-- BRAVURA
gameplayVariables [ "bravuraspawns" ] =
{
}
-- ALPHA
gameplayVariables [ "alphaspawns" ] =
{
}
-- NRG - 500
gameplayVariables [ "nrg-500spawns" ] =
{
}
-- FBI RANCHER
gameplayVariables [ "fbi rancherspawns" ] =
{
}
-- FBI TRUCK
gameplayVariables [ "fbi truckspawns" ] =
{
}
-- PHOENIX
gameplayVariables [ "phoenixspawns" ] =
{
}
-- SABRE
gameplayVariables [ "sabrespawns" ] =
{
}
-- BULLET
gameplayVariables [ "bulletspawns" ] =
{
}
-- HOTRING RACER
gameplayVariables [ "hotring racerspawns" ] =
{
}
-- SUPER GT
gameplayVariables [ "super gtpawns" ] =
{
}
-- TRACTOR
gameplayVariables [ "tractorspawns" ] =
{
{ 301.9723815918 , 2013.8988037109 , 17.640625 },
{ 314.4649 , 1140.7244 , 8.5859 , 70.0046 },
{- 951.7434 ,- 515.8398 , 25.9536 , 105.0219 },
}
-- 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 },
}
-- QUAD
gameplayVariables [ "quadspawns" ] =
{
{- 738.1989 ,- 125.3214 , 67.1632 , 203.8758 },
{- 1016.8008 ,- 688.9416 , 32.0078 , 22.4471 },
{- 1545.8480 , 628.1342 , 7.1875 , 180.2506 },
}
-- MESA
gameplayVariables [ "mesaspawns" ] =
{
}
-- DODO
gameplayVariables [ "dodospawns" ] =
{
{ 279.32537841797 , 2020.9741210938 , 17.640625 },
{- 1227.2910 ,- 127.5485 , 14.1484 , 152.2099 },
{ 1282.6152 , 1323.6509 , 10.8203 , 91.4783 },
}
-- CAMPER
gameplayVariables [ "camperspawns" ] =
{
{ 303.8581 , 2040.5405 , 17.6406 , 184.6847 },
{- 235.5664 ,- 207.0945 , 1.4297 , 27.6536 },
{- 1740.5837 ,- 67.5864 , 3.5547 , 13.4941 },
{ 2094.1072 ,- 1581.1379 , 13.2511 , 27.7677 },
}
-- PICKUP
gameplayVariables [ "pickupspawns" ] =
{
{- 2479.6240234375 , 2223.6669921875 , 4.84375 },
{- 92.9951171875 , 2823.0908203125 , 76.721649169922 },
{- 2448.99609375 ,- 1335.8662109375 , 310.97662353516 },
{- 2796.1809082031 ,- 860.12841796875 , 26.078424453735 },
{ 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 },
}
-- 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 },
}
____________________________________________________________
hunterSpawns = gameplayVariables [ "hunterspawns" ]
pickupSpawns = gameplayVariables [ "pickupspawns" ]
patriotSpawns = gameplayVariables [ "patriotspawns" ]
sanchezSpanws = gameplayVariables [ "sanchezspawns" ]
barracksSpawns = gameplayVariables [ "barracksspawns" ]
coachSpawns = gameplayVariables [ "coachspawns" ]
fisherBootSpawns = gameplayVariables [ "fisherboatspawns" ]
bikeSpawns = gameplayVariables [ "bikespawns" ]
maverikSpawns = gameplayVariables [ "maverickspawns" ]
tentSpawns = gameplayVariables [ "tentsspawns" ]
heliCrashSites = gameplayVariables [ "helicrashsides" ]
Wysłany: 2016-12-31, 10:35
_Haze
Peace Yo!
Wiek: 24 Na forum: 4184 dni Posty: 1648
Nick w MP: Haze
Piwa : 2628
Ale co tu nie dzia?a jakie? db?
Wysłany: 2016-12-31, 14:10
BoCzKu
Mapper & Lua
Wiek: 24 Na forum: 3465 dni Posty: 87
Nick w MP: BoKu
Piwa : 331
"Hazmudex" napisał/a :Ale co tu nie dzia?a jakie? db?
Nie... Nie dzia?a mi ten kod bo auta si? nie chc? respi? na mapie.
Wysłany: 2016-12-31, 14:12
xJakob
Wiek: 31 Na forum: 3661 dni Posty: 164
Nick w MP: tylkoyolo
Piwa : 984
BoCzKu , czy masz jakie? b??dy z tego skryptu z debugscript 3. Je?li tak to podaj je
Wysłany: 2016-12-31, 14:45
BoCzKu
Mapper & Lua
Wiek: 24 Na forum: 3465 dni Posty: 87
Nick w MP: BoKu
Piwa : 331
Wysłany: 2016-12-31, 14:58
xJakob
Wiek: 31 Na forum: 3661 dni Posty: 164
Nick w MP: tylkoyolo
Piwa : 984
BoCzKu , masz b??d z setElementData w linice 664
Wysłany: 2016-12-31, 15:02
BoCzKu
Mapper & Lua
Wiek: 24 Na forum: 3465 dni Posty: 87
Nick w MP: BoKu
Piwa : 331
Co tu jest zle ?
setElementData ( getElementData ( veh , "parent" ), "fuel" , getElementData ( getElementData ( veh , "parent" ), "fuel" )- getVehicleFuelRemove ( getElementModel ( veh )))
Wysłany: 2016-12-31, 15:04
xJakob
Wiek: 31 Na forum: 3661 dni Posty: 164
Nick w MP: tylkoyolo
Piwa : 984
Czemu masz tutaj tak to zrobione
setElementData ( getElementData
[ Dodano : 2016-12-31, 15:06 ]
BoCzKu , a po za tym lepiej we? zmie? gma albo napraw b??dy bo widz? ?e du?o tego
Wysłany: 2017-01-01, 18:39
BoCzKu
Mapper & Lua
Wiek: 24 Na forum: 3465 dni Posty: 87
Nick w MP: BoKu
Piwa : 331
xJakob , Powiesz jak to zrobi? ? Bo nie wiem jak mam to "u?o?y?"
setElementData ( getElementData ( veh , "parent" ), "fuel" , getElementData ( getElementData ( veh , "parent" ), "fuel" )- getVehicleFuelRemove ( getElementModel ( veh )))
Tagi: pojazdy :: się :: nie :: respią :: dayz
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: