-
Posts
754 -
Joined
-
Last visited
Everything posted by NodZen
-
ok, Habisame cualquier cosa.
-
local icon = createBlip (x, y, z, 10, 2, 0, 0, 0, 0, 0, 10000, getRootElement()) probà eso. Tambien reinicia tu Resource.
-
Of course I know. He said it "es q toy asiendo un freeroam tonce qro poner un minigamemode de zombis en otra dimension" ( on facebook) ... He is my friend on facebook.
-
Tienes que usar createBlip -- luego pones la distancia de dibujado y quienes lo pueden ver.
-
But you want to do with setElementDimension ... Zombies appear in specific areas?
-
What do you mean by changing dimension?.
-
Y probè ese mismo script y tambien la IP. Y no funciona. El problema es la IP.
-
Bueno. Puedes usar este Resource. https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540
-
Supongamos que un server use ese gamemode. Que pasa con el server? Lo denuncian ?, lo cierran?. Pregunto porque no tengo ni idea
-
si es ese. No me acordaba el nombre.
-
Es cierto que hay otro gamemode como paradadise , pero que està prohibido usarlo o algo asi?
-
-- probà asi. Ami me anda function load () objeto = createObject ( 980, 96.599998474121, 1921.4000244141, 20.89999961853, 0, 0, 90 ) end addEventHandler ( "onResourceStart", getRootElement(), load ) function mover () moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 15.89999961853 ) end addCommandHandler ("abrir", mover ) function close () moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 20.89999961853 ) end addCommandHandler (cerrar", close )
-
No se moverà porque todas las posZ son iguales!. Probà asi objeto = createObject ( 980, 96.599998474121, 1921.4000244141, 20.89999961853, 0, 0, 90 ) function mover () moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 15.89999961853 ) end addCommandHandler ("abrir", mover ) function close () moveObject ( objeto, 5000, 96.599998474121, 1921.4000244141, 20.89999961853 ) end addCommandHandler (cerrar", close )
-
facil Con createObject; moveObject and addCommandHandler
-
Mi duda es si se puede agregar a un slothBot a un team es decir boss = createTeam ( "jefe", 255, 0, 0 ) slothbot = exports , etc ,etc setPlayerTeam (slothbot, "boss" ) Funcionaria?
-
Hola, No eso no se puede.
-
Gracias @brad_vickers El problema era de los Timers. Igual @Natutimmy .
-
Arriba de 9 quiere decir , la cantidad de zombies. Si Yo le pongo 15 ya empieza el lag.
-
Hola Tengo una duda respecto a los 'zombies'. Se puede hacer algo sobre el lag de los zombies? Porque A mì me sucede que cuando pongo en la cantidad de zombies arriba de 9 , los zombies se laguean. Y no porque falta de hardware. Alguna forma? Gracias
-
Bueno mira , el ejemplo si se entiende , es asi: sWidth, sHeight = guiGetScreenSize() function dxDrawGifImage ( x, y, w, h, path, iStart, iType, effectSpeed ) local gifElement = createElement ( "dx-gif" ) if ( gifElement ) then setElementData ( gifElement, "gifData", { x = x, y = y, w = w, h = h, imgPath = path, startID = iStart, imgID = iStart, imgType = iType, speed = effectSpeed, tick = getTickCount ( ) } ) return gifElement else return false end end addEventHandler ( "onClientRender", root, function ( ) local currentTick = getTickCount ( ) for index, gif in ipairs ( getElementsByType ( "dx-gif" ) ) do local gifData = getElementData ( gif, "gifData" ) if ( gifData ) then if ( currentTick - gifData.tick >= gifData.speed ) then gifData.tick = currentTick gifData.imgID = ( gifData.imgID + 1 ) if ( fileExists ( gifData.imgPath .."".. gifData.imgID ..".".. gifData.imgType ) ) then gifData.imgID = gifData.imgID setElementData ( gif, "gifData", gifData ) else gifData.imgID = gifData.startID setElementData ( gif, "gifData", gifData ) end end dxDrawImage ( gifData.x, gifData.y, gifData.w, gifData.h, gifData.imgPath .."".. gifData.imgID ..".".. gifData.imgType ) end end end ) gif = dxDrawGifImage ( 1200, 5, 70, 80, "images/Frame", 0, "png", 50 )-- Esto Si probà. El 50 es la velocidad , cuanto menos es mas rapida.
-
Xperia , eso solo crea un Ped . El quiere que sea con el 'slothbot'. Amigo, Yo te deje un ejemplo.Usalo
