-
Posts
381 -
Joined
-
Last visited
Everything posted by PhantomDamn
-
llevo dos dias que no me funcionan mas de 10 botones del teclado en Mta como lo son q,w,e,r,a,s,d,f.... otros mas que no recuerdo y los del mause no funcionan tampoco... instale la version 1.0.5 y la version 1.2 y logre jugar normalmente... y ya elimine y reinstale 3 veces Mta 1.3.3 y aun sigo asi ... que sucede
-
Lol!! Eso ya es sabido el mismo lo admite... Ladron HAHAHA! Ya suicidate Alexs_Steel, hacerle un favor al mundo... ganaste un premio nobel con una evidencia que no tiene sentido!
-
ah CiBeR si vos eres quien queria un admin 90-60-90 ... ahora se por que estan los animos caliente aqui
-
cada quien tiene su personalidad y si no estas de acuerdo resuelve tu problema por otro lado , pero creo que hice el topic con otro tema distinto... solid cierra el topic gracias de ante mano...
-
que alexs sustrae los resource de la carpeta de resources del mta y los hace propio?? que los publica?? personalmente respeto a alexs por sus scripts.. una vez me dijo que el no los publica en publico por que no le interesa mostrar que es buen script y solo comparte sus scripts en su circulo social... me parece una bobada eso... y respesto al tema para evitar que cierren el TOPIC.. ya Plate me confirmo que existen los hacks en mta 1.3.3 ... seria bueno buscar una solucion a una problematica ya que la version es nueva y tan rapido salieron hacks... no pasara mucho tiempo y crearan muchos hacks o cheat... seria bueno que los admins de mtavc busquen una solucion...
-
https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-ash4/998202_10201869550083722_1523497096_n.jpg
-
https://www.facebook.com/photo.php?fbid=10201869550083722&set=gm.320814421386800&type=1&theater ping normal, fps normal ... le disparan un tiempo prolongado con el seasparrow y no le hacia nada ... no creo que sea bug... alguna explicacion?
-
este gamemode esta bueno pero hay una falla que cuando disparan en la pierna o te hieren el jugador queda cojo y debe reconectar para que se desbuguee.. esto esta en el script pblips.lua pero no se que lineas eliminar o modificar... tengo como 4 meses sin practicar lua y ahora estoy hecho %$# una ayuda --THIS PART MAKES NOISE WHEN A PLAYER GETS HURT bodyPartAnim = { [7] = { "DAM_LegL_frmBK", 42 }, [8] = { "DAM_LegR_frmBK", 52 }, } function damagenoise ( attacker, weapon, bodypart, loss ) soundlevel = soundlevel+2 restartdamagedetect = setTimer ( readddamage, 1000, 1 ) --Only continue if our bodypart is one of the legs if ( bodypart ~= 7 ) and ( bodypart ~= 8 ) then return end local isplayerlimping = getElementData ( getLocalPlayer (), "legdamage" ) if isplayerlimping ~= 1 then if (attacker) then local attackerteam = getPlayerTeam (attacker) local yourteam = getPlayerTeam (getLocalPlayer ()) if attackerteam == yourteam then if getTeamFriendlyFire ( yourteam ) == false then --do nothing return end end if not getElementData ( source, "armor" ) then --outputChatBox("You've been hit in the leg.", 255, 69, 0) setPedAnimation ( getLocalPlayer(), "ped", bodyPartAnim[bodypart][1], true, true, false ) setTimer ( setPedAnimation, 600, 1, getLocalPlayer() ) setElementData ( getLocalPlayer (), "legdamage", 1 ) --Blood stuff local function blood() local boneX,boneY,boneZ = getPedBonePosition(getLocalPlayer(), bodyPartAnim[bodypart][2]) local rot = math.rad(getPedRotation ( getLocalPlayer() )) fxAddBlood ( boneX,boneY,boneZ, -math.sin(rot), math.cos(rot), -0.1, 500, 1.0 ) end blood() setTimer(blood,50,50) -- local makeplayerlimp = setTimer ( limpeffect, 1000, 1, source, key, state ) end end end end function readddamage () -- addEventHandler ( "onClientPedDamage", getLocalPlayer (), damagenoise ) end
-
linea 45 de server side setRadarAreaFlashing( pArea, false ) end, 5000, 1 ) 5000 = 5 seg ... estan en milisegundos... solo modifica eso..
-
como puedo saber cuando un vehiculo se cae al agua
PhantomDamn replied to JuanM27's topic in Scripting
de que trata eso? te das cuenta si se cae por que te ahogaras, explicame que quede con la intriga -
Ayuda con el admin :(
PhantomDamn replied to lpdc99's topic in Ayuda relacionada al cliente/servidor
no se habra podido dañar o algo en el internal.db -
new lenguage?
-
Cuentame acerca de tu servidor
PhantomDamn replied to diegofkda's topic in Servidores en donde jugar
se ve muy bien, felicidades -
hola como estan... como hago que este script funcione solo en algun auto [iD] server side -- Script by MuLTi! Do not remove credits! -- addEvent("onRocketCreation", true) addEventHandler("onRocketCreation", getRootElement(), function(x, y, z, hx, hy, hz, time) local car = getPedOccupiedVehicle(source) if not(car) then return end local rx, ry, rz = getElementRotation(car) local object = createObject(3786, x, y, z+0.5, rx*1.01, ry*1.01, rz-90) local marker = createMarker(x, y, z+0.5, "corona", 1.0, 0, 255, 0) triggerClientEvent(getRootElement(), "onClientRocketFire", source, object) setElementData(object, "rocket.state", true) attachElements(marker, object) setElementCollisionsEnabled(object, false) setObjectScale(object, 1) moveObject(object, time, hx, hy, hz, 0, 0, 0, "InQuad") setTimer( function() destroyElement(object) destroyElement(marker) createExplosion(hx, hy, hz, 7) createExplosion(hx, hy, hz+4, 4) end, time, 1) end) Client side -- Script by MuLTi! Do not remove credits! -- local gMe = getLocalPlayer() local cando = true local key = "vehicle_fire" local waitseconds = 1 local enabled = true function renderRocketFX() for index, object in pairs(getElementsByType("object")) do if(getElementData(object, "rocket.state") == true) then local x1, y1, z1 = getElementPosition(object) for i = 1, 5, 1 do fxAddTyreBurst(x1, y1, z1, 0, 0, 0) fxAddPunchImpact(x1, y1, z1, 0, 0, 0) end end end end addEventHandler("onClientRender", getRootElement(), renderRocketFX) addEventHandler("onClientPreRender", getRootElement(), renderRocketFX) addEventHandler("onClientRender", getRootElement(), function() if(enabled == true) then local veh = getPedOccupiedVehicle(gMe) if not(veh) then return end local col2 = getElementData(veh, "r.col2") local col1 = getElementData(veh, "r.col1") if not(col2) or not(col1) then return end local x, y, z = getElementPosition(col2) local x1, y1, z1 = getElementPosition(col1) z1 = z1+getElementDistanceFromCentreOfMassToBaseOfModel(veh)*2 local hit, x2, y2, z2 = processLineOfSight(x, y, z, x1, y1, z1) if not(x2) or not(y2) or not(z2) then x2, y2, z2 = x, y, z end local sx, sy = getScreenFromWorldPosition(x2, y2, z2) if not(sx) or not(sy) then return end dxDrawLine(sx, sy-12.9, sx, sy+12.9, tocolor(0, 255, 0), 2) dxDrawLine(sx-12.9, sy, sx+12.9, sy, tocolor(0, 255, 0), 2) end end) addEvent("onClientRocketFire", true) addEventHandler("onClientRocketFire", getRootElement(), function(theRocket) local x, y, z = getElementPosition(theRocket) local sound = playSound3D("rocket.mp3", x, y, z, false) setSoundMaxDistance(sound, 100) attachElements(sound, theRocket) end) function fireVehicleRocket() if(cando == false) then return end if(enabled == false) then return end local veh = getPedOccupiedVehicle(gMe) if(veh) then else unbindKey(key, "up", fireVehicleRocket) return end local col1 = getElementData(veh, "r.col1") local col2 = getElementData(veh, "r.col2") local x1, y1, z1 = getElementPosition(col1) local x2, y2, z2 = getElementPosition(col2) z1 = z1+getElementDistanceFromCentreOfMassToBaseOfModel(veh)*2 local hit, hx, hy, hz = processLineOfSight(x1, y1, z1, x2, y2, z2) if not(hx) or not(hy) or not(hz) then hx, hy, hz = x2, y2, z2 end local distanz = getDistanceBetweenPoints3D(x1, y1, z1, hx, hy, hz) local time = distanz*10 cando = false setTimer(function() cando = true end, waitseconds*1000, 1) triggerServerEvent("onRocketCreation", gMe, x1, y1, z1, hx, hy, hz, time) end addEventHandler("onClientPlayerWasted", gMe, function() unbindKey(key, "up", fireVehicleRocket) end) addEventHandler("onClientVehicleExit", getRootElement(), function(thePlayer) if(thePlayer ~= gMe) then return end unbindKey(key, "up", fireVehicleRocket) end) addEventHandler("onClientVehicleEnter", getRootElement(), function(thePlayer) if(thePlayer ~= gMe) then return end bindKey(key, "up", fireVehicleRocket) end) function checkVehicleCol() for index, car in pairs(getElementsByType("vehicle")) do if not(getElementData(car, "r.col1")) then local col1 = createColSphere(0, 0, 0, 2) local col2 = createColSphere(0, 0, 0, 2) setElementData(car, "r.col1", col1, false) setElementData(car, "r.col2", col2, false) attachElements(col1, car) attachElements(col2, car, 0, 250, 0) end end end setTimer(checkVehicleCol, 1000, 1) addEventHandler("onClientResourceStop", getResourceRootElement(getThisResource()), function() for index, car in pairs(getElementsByType("vehicle")) do setElementData(car, "r.col1", nil, false) setElementData(car, "r.col2", nil, false) end end) addCommandHandler("missiles", function() enabled = not enabled local shit if(enabled == true) then shit = "enabled" else shit = "disabled" end outputChatBox("Missiles have been "..shit..".", 0, 255, 255) end) -- PROJECTILE VERSION! -- --[[ local x1, y1, z1 = getElementPosition(col1) local rx, ry, rz = getElementRotation(veh) local rotX,rotY,rotZ = getElementRotation(veh) local x, y, z = getElementPosition(veh) local matrix = getElementMatrix(veh) local offX = 0 * matrix[1][1] + 1 * matrix[2][1] + 0 * matrix[3][1] + 1 * matrix[4][1] local offY = 0 * matrix[1][2] + 1 * matrix[2][2] + 0 * matrix[3][2] + 1 * matrix[4][2] local offZ = 0 * matrix[1][3] + 1 * matrix[2][3] + 0 * matrix[3][3] + 1 * matrix[4][3] local vx = offX - x local vy = offY - y local vz = offZ - z x = 0 * matrix[1][1] + 3 * matrix[2][1] + 0 * matrix[3][1] + 1 * matrix[4][1] y = 0 * matrix[1][2] + 3 * matrix[2][2] + 0 * matrix[3][2] + 1 * matrix[4][2] z = 0 * matrix[1][3] + 3 * matrix[2][3] + 0 * matrix[3][3] + 1 * matrix[4][3] createProjectile(gMe, 19, x, y, z, 200, nil, 0, 0, 360 - rotZ, vx, vy, vz) --]]
-
quieres un outputchatbox que diga constantemente los comando del servidor para tener a los players informados... es eso lo que quieres?
-
publica los scripts , no solo el link
-
saber cuando te apuntan o apuntan a otro player?
-
tienes eso en la meta? "tumapa.map" dimension="0">
-
#Steven23 no entiendo nada de lo que dices y es spawn* crees* alguien* ..... te sugiero que examines los gamemode que trae el default creo que hay un spawn que te puede servir pero no recuerdo el nombre pero me parece que lo utiliza el UVA Server
-
¿Hay alguna manera de reducir el lagg?
PhantomDamn replied to depato123's topic in Ayuda relacionada al cliente/servidor
seria util si lo recuerdas :3 -
no revisaste lo que te mande mira esto es un ejemplo de la wiki .. sencillo if id == 519 or id == 577 then
-
agregalo todos los que quieras en la linea getElementModel... sino sabes como dale click a esto : getElementModel
