-
Posts
21 -
Joined
-
Last visited
Smirnoff's Achievements

Civilian (7/54)
0
Reputation
-
Good morning or nights and greetings I have a bug in my gm of dayz happens when the player dies and backpacks have in inventory they do not disappear the debugscript I do not throw that throw errors or are not related to the bug in question if anyone knows to be or know that function is responsible for the removal of items at death your help would be great only errors that appear Lines of the function in question from mistakes function showDayZDeathScreen() setTimer ( fadeCamera, 1000, 1, true, 1.5 ) deadBackground = guiCreateStaticImage(0,0,1,1,"images/dead.jpg",true) deathText = guiCreateLabel(0,0.8,1,0.2,"You died! \n You will respawn in 5 seconds.",true) guiLabelSetHorizontalAlign (deathText,"center") setTimer(guiSetVisible,5000,1,false) --- 1737 setTimer(guiSetVisible,5000,1,false) --- 1738 setTimer(destroyElement,5000,1,deathText) setTimer(destroyElement,5000,1,deadBackground)end
-
Good morning or nights and greetings I have a bug in my gm of dayz happens when the player dies and backpacks have in inventory they do not disappear the debugscript I do not throw that throw errors or are not related to the bug in question if anyone knows to be or know that function is responsible for the removal of items at death your help would be great only errors that appear Lines of the function in question from mistakes function showDayZDeathScreen() setTimer ( fadeCamera, 1000, 1, true, 1.5 ) deadBackground = guiCreateStaticImage(0,0,1,1,"images/dead.jpg",true) deathText = guiCreateLabel(0,0.8,1,0.2,"You died! \n You will respawn in 5 seconds.",true) guiLabelSetHorizontalAlign (deathText,"center") setTimer(guiSetVisible,5000,1,false) --- 1737 setTimer(guiSetVisible,5000,1,false) --- 1738 setTimer(destroyElement,5000,1,deathText) setTimer(destroyElement,5000,1,deadBackground) end
-
Buenos dias o Noches y saludos Tengo un Bug en mi gm de dayz pasa que cuando el jugador muere y tengo mochilas en el inventario estas no desaparecen el debugscript no me arroja errores o los que arrojan no estan relacionados con el bug en cuestion si alguien sabe a que se debe o sabe que funcion es la encargada de la eliminacion de los items al morir seria genial su ayuda unicos errores que aparecen Lineas de la funcion en cuestion de los errores function showDayZDeathScreen() setTimer ( fadeCamera, 1000, 1, true, 1.5 ) deadBackground = guiCreateStaticImage(0,0,1,1,"images/dead.jpg",true) deathText = guiCreateLabel(0,0.8,1,0.2,"You died! \n You will respawn in 5 seconds.",true) guiLabelSetHorizontalAlign (deathText,"center") setTimer(guiSetVisible,5000,1,false) --- 1737 setTimer(guiSetVisible,5000,1,false) --- 1738 setTimer(destroyElement,5000,1,deathText) setTimer(destroyElement,5000,1,deadBackground)end
-
Buenos dias o Noches y saludos Tengo un Bug en mi gm de dayz pasa que cuando el jugador muere y tengo mochilas en el inventario estas no desaparecen el debugscript no me arroja errores o los que arrojan no estan relacionados con el bug en cuestion si alguien sabe a que se debe o sabe que funcion es la encargada de la eliminacion de los items al morir seria genial su ayuda unicos errores que aparecen Lineas de la funcion en cuestion de los errores function showDayZDeathScreen() setTimer ( fadeCamera, 1000, 1, true, 1.5 ) deadBackground = guiCreateStaticImage(0,0,1,1,"images/dead.jpg",true) deathText = guiCreateLabel(0,0.8,1,0.2,"You died! \n You will respawn in 5 seconds.",true) guiLabelSetHorizontalAlign (deathText,"center") setTimer(guiSetVisible,5000,1,false) --- 1737 setTimer(guiSetVisible,5000,1,false) --- 1738 setTimer(destroyElement,5000,1,deathText) setTimer(destroyElement,5000,1,deadBackground) end
-
The idea is a zone with radiation,when you enter this zone you gain rads and when you reach a radlevel ,you start to bleeding. Actually i have this code , and i cannot do it work properly The zone is created and actually the rad burn if you are in the area But when you leave still burning your health and the geiger sound still playing how can i fix it? local x,y,z = 95.974617004395,1751.3895263672,17.640625 --- Marker Central local radarea = createMarker (x,y,z,"cylinder",255, 255, 91,0,0) local radZoneRadar = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 91, 127, 0, 100 ) -- local radmax = 100 -- Radiacion Maxima para comenzar a sangrar local radmid = 50 -- comienza un sangrado minimo local radadd = 50 -- Añade 10 rads local removebloodfive = 200 -- Que tanta sangre es quitada entre mas radiacion radmid local removeblood = 700 -- Sangre quitada al llegar al maximo radmax local antiradiation = "Rad-Suit" -- La radiacion no sube tan rapido -valores multiplicados por 0.8 -- ------------------------------------------ -- -- SISTEMA local player = getLocalPlayer() function checkradiation() if not getElementData(player,"radiacion") then setElementData(player,"radiacion",0) end local radiacion = getElementData(player,"radiacion") if isElementWithinMarker(player, radarea) then radiationadd() end if radiacion >= radmid then if getElementData(player,antiradiation) then setElementData(player,"blood",getElementData(player,"blood")-removebloodfive*0.-- s8) --> return true end setElementData(player,"blood",getElementData(player,"blood")-removebloodfive) end if radiacion >= radmax then if getElementData(player,antiradiation) then setElementData(player,"blood",getElementData(player,"blood")-removebloodfive*0.3) return true end setElementData(player,"blood",getElementData(player,"blood")-removeblood) end setTimer(offsound,10000,1) end setTimer(checkradiation,10000,0) function radiationadd() setElementData(player,"radiacion",getElementData(player,"radiacion")+radadd) radsound = playSound("sounds/radsound.mp3") end function offsound() if not isElementWithinMarker(player, radarea) then stopSound(radsound) end end
-
In 3dsmax open a Gta sa Model dff and txd then open your weapon and adjust the weapon in the right position of the bones Good luck.
-
Thx ,but after a check with simple01 (he made everything jeje) i was using server side functions and after a few rechecks y get this server side code (actually i dont know what put in the client side) radcol = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) radZoneRadar = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 91, 127, 0, 100 ) local nonKillables = {[287]=true,[285]=true,[193]=true,[192]=true,[191]=true,[294]=true;} local radmax = 300 local player = getLocalPlayer() local radiationLabel function radx() local radn = getElementData(player,"radiacion") local radiationLabel = guiCreateLabel(0.01, 0.31, 0.22, 0.03, "Radiacion:"..radn, true) guiSetFont(radiationLabel, "default-bold-small") guiLabelSetColor(radiationLabel, 255, 255, 91) end function radx2() local radn = getElementData(player,"radiacion") if not radn then setElementData(player,"radiacion",0) guiSetVisible(radiationLabel, false) setTimer(radx,500,1) else guiSetVisible(radiationLabel, false) setTimer(radx,500,1) end end setTimer(radx2,500,0) function radx4() setElementData(player,radn + 10) end function radx5() setElementData(player,radn - 10) end addEventHandler( "onColShapeHit", radcol, function(hitPlayer,player) if getElementType(hitPlayer)=="player" then local skin = getElementModel (hitPlayer) if nonKillables[skin] then radx5() elseif not radx4() then playSound("sounds/rad.mp3") elseif radn >= radmaxx then setElementData(player,"blood",-1000) end end end) after getting server side the guilaber works and the colo on the radar too but no the main script ( get rad lvl )
-
Actually this is the file with the modification of Simple01 http://www.mediafire.com/download/5057szk553n1u41/rad.zip with the error loading Line 29 yes is the client
-
Just the same ima getting mad with this idea but i really want this script haha any idea? my knowledge is barely not much a little bit of java and the mta wiki xdd
-
actually y get this