-
Posts
381 -
Joined
-
Last visited
Everything posted by PhantomDamn
-
BBHosting - Hosting Para MTA y Mucho Mas!
PhantomDamn replied to JesusAliso's topic in Soluciones de hosting
-
BBHosting - Hosting Para MTA y Mucho Mas!
PhantomDamn replied to JesusAliso's topic in Soluciones de hosting
Anti DDos? inventaste un anti DDos 100% efectivo? -
|Proyecto ????|Primeros detalles...
PhantomDamn replied to StanMarsh's topic in Servidores en donde jugar
Se ve bueno el proyecto, ojala te salga como esperas. -
Hahahaha Nice script and website
-
Cuentame acerca de tu servidor
PhantomDamn replied to diegofkda's topic in Servidores en donde jugar
Ok, avisas para visitarlo -
Hola alguna ayuda.. esta bien esto? gang_Area = {} gang_Col = {} gang_Area["ESP"] = createRadarArea(2439.6716308594, -1719.4598388672, 200, 200, 0, 179, 4, 175) gang_Col["ESP"] = createColRectangle(2439.6716308594, -1719.4598388672, 200, 200) gang_Area["LPS"] = createRadarArea(2130.5749511719, -1832.2039794922, 200, 200, 211, 0, 174, 175) gang_Col["LPS"] = createColRectangle(2130.5749511719, -1832.2039794922, 200, 200) gang_Area["[sIDA]"] = createRadarArea(1827.0545654297, -1748.1649169922, 200, 200, 0, 219, 222, 175) gang_Col["[sIDA]"] = createColRectangle(1827.0545654297, -1748.1649169922, 200, 200) gang_Area["COD"] = createRadarArea(1379.3989257813, -1746.2264404297, 200, 200, 0, 100, 149, 237) gang_Col["COD"] = createColRectangle(1379.3989257813, -1746.2264404297, 200, 200) gangZone = {} gangZone["ESP"] = "ESP" gangZone["LPS"] = "LPS" gangZone["[sIDA]"] = "[sIDA]" gangZone["COD"] = "COD" WarsGangZone = {} WarsGangZone["ESP"] = {} WarsGangZone["ESP"]["LPS"] = 0 WarsGangZone["ESP"]["[sIDA]"] = 0 WarsGangZone["ESP"]["COD"] = 0 WarsGangZone["ESP"]["ESP"] = 0 WarsGangZone["LPS"] = {} WarsGangZone["LPS"]["ESP"] = 0 WarsGangZone["LPS"]["[sIDA]"] = 0 WarsGangZone["LPS"]["COD"] = 0 WarsGangZone["LPS"]["LPS"] = 0 WarsGangZone["[sIDA]"] = {} WarsGangZone["[sIDA]"]["ESP"] = 0 WarsGangZone["[sIDA]"]["LPS"] = 0 WarsGangZone["[sIDA]"]["COD"] = 0 WarsGangZone["[sIDA]"]["[sIDA]"] = 0 WarsGangZone["COD"] = {} WarsGangZone["COD"]["ESP"] = 0 WarsGangZone["COD"]["LPS"] = 0 WarsGangZone["COD"]["[sIDA]"] = 0 WarsGangZone["COD"]["COD"] = 0 function PlayerGangWasted(ammo, attacker, weapon, bodypart) local sourceTeam = getPlayerTeam(source) local sourceTeamName = getTeamName(sourceTeam) if attacker and (attacker ~= source) then if (getElementType(attacker) == "player") then attackerTeam = getPlayerTeam(attacker) attackerTeamName = getTeamName(attackerTeam) if attackerTeamName ~= sourceTeamName then if (isElementWithinColShape(attacker, gang_Col[sourceTeamName])) then if (WarsGangZone[attackerTeamName][sourceTeamName] < 3) then destroyWarsGangZoneStats(attackerTeamName, sourceTeamName) WarsGangZone[attackerTeamName][sourceTeamName] = WarsGangZone[attackerTeamName][sourceTeamName]+1 if (WarsGangZone[attackerTeamName][sourceTeamName] == 1) then outputChatBox("bla bla"..getPlayerName(attacker).." bla "..attackerTeamName.." bla bla bla "..sourceTeamName.."!", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[sourceTeamName], true) setTimer(FlashingStop,60000,1,sourceTeamName,attackerTeamName) end elseif (WarsGangZone[attackerTeamName][sourceTeamName] == 3) then WarsGangZone[attackerTeamName][sourceTeamName] = 4 r, g, b = getTeamColor(attackerTeam) setRadarAreaColor(gang_Area[sourceTeamName], r, g, b, 175) outputChatBox(" "..attackerTeamName.." "..sourceTeamName.."", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[sourceTeamName], false) gangZone[sourceTeamName] = attackerTeamName end elseif (isElementWithinColShape(attacker, gang_Col[attackerTeamName])) then if gangZone[attackerTeamName] ~= attackerTeamName then if (WarsGangZone[attackerTeamName][attackerTeamName] < 3) then destroyWarsGangZoneStats(attackerTeamName, attackerTeamName) WarsGangZone[attackerTeamName][attackerTeamName] = WarsGangZone[attackerTeamName][attackerTeamName] + 1 if (WarsGangZone[attackerTeamName][attackerTeamName] == 1) then setRadarAreaFlashing(gang_Area[attackerTeamName], true) outputChatBox("#FF3300[Damn]: "..getPlayerName(attacker).." èç "..attackerTeamName.." Bla bla bla!", getRootElement(), 0, 0, 0,true) setTimer(FlashingStop,60000,1,sourceTeamName,attackerTeamName) end elseif (WarsGangZone[attackerTeamName][attackerTeamName] == 3) then WarsGangZone[attackerTeamName][attackerTeamName] = 4 r, g, b = getTeamColor(attackerTeam) setRadarAreaColor(gang_Area[attackerTeamName], r, g, b, 175) outputChatBox("#FF3300[PDamn]: "..attackerTeamName.." bla bla bla!", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[attackerTeamName], false) gangZone[attackerTeamName] = attackerTeamName end end end end end end end addEventHandler("onPlayerWasted", getRootElement(), PlayerGangWasted)
-
Gracias, esto es muy util. Gracias por los links, me serviran mucho.
-
cuando creo un script desde 0 y como hago para saber el orden exacto ... por ejemplo que se escribe primero? la funcion? despues los argumentos? eventos? ....
-
Gracias por la ayuda.. esto no lo sabia ----- En el caso del else y elseif no cuenta?
-
siempre he tenido problema con los "end" a veces pongo uno de mas o uno de menos.
-
ahora mismo lo tengo en server.. no me habia fijado en la meta y estaba antes en cliente pero en cliente el debug mostraba directamente error
-
Esto no sirve con el top 30
-
linea 3 mal argumento "setElementData"
-
it not works... chatbox is ok, but no reset score...
-
Que trae la nueva version ? He visto el nuevo boton en el panel admin "detail" pero no le veo nunguna funcion.
-
Hola quiero hacer que las turf funcionen por numeros de kill para los clanes y no por setTimer... podria usar PlayerGangWasted para esto? EDITADO: encontre esto es mis archivos viejos: gang_Area = {} gang_Col = {} gang_Area["ESP"] = createRadarArea(2439.6716308594, -1719.4598388672, 200, 200, 0, 179, 4, 175) gang_Col["ESP"] = createColRectangle(2439.6716308594, -1719.4598388672, 200, 200) gang_Area["LPS"] = createRadarArea(2130.5749511719, -1832.2039794922, 200, 200, 211, 0, 174, 175) gang_Col["LPS"] = createColRectangle(2130.5749511719, -1832.2039794922, 200, 200) gang_Area["Aztec"] = createRadarArea(1827.0545654297, -1748.1649169922, 200, 200, 0, 219, 222, 175) gang_Col["Aztec"] = createColRectangle(1827.0545654297, -1748.1649169922, 200, 200) gang_Area["COD"] = createRadarArea(1379.3989257813, -1746.2264404297, 200, 200, 0, 100, 149, 237) gang_Col["COD"] = createColRectangle(1379.3989257813, -1746.2264404297, 200, 200) gangZone = {} gangZone["ESP"] = "ESP" gangZone["LPS"] = "LPS" gangZone["Aztec"] = "Aztec" gangZone["COD"] = "COD" WarsGangZone = {} WarsGangZone["ESP"] = {} WarsGangZone["ESP"]["LPS"] = 0 WarsGangZone["ESP"]["Aztec"] = 0 WarsGangZone["ESP"]["COD"] = 0 WarsGangZone["ESP"]["ESP"] = 0 WarsGangZone["LPS"] = {} WarsGangZone["LPS"]["ESP"] = 0 WarsGangZone["LPS"]["Aztec"] = 0 WarsGangZone["LPS"]["COD"] = 0 WarsGangZone["LPS"]["LPS"] = 0 WarsGangZone["Aztec"] = {} WarsGangZone["Aztec"]["ESP"] = 0 WarsGangZone["Aztec"]["LPS"] = 0 WarsGangZone["Aztec"]["COD"] = 0 WarsGangZone["Aztec"]["Aztec"] = 0 WarsGangZone["COD"] = {} WarsGangZone["COD"]["ESP"] = 0 WarsGangZone["COD"]["LPS"] = 0 WarsGangZone["COD"]["Aztec"] = 0 WarsGangZone["COD"]["COD"] = 0 function PlayerGangWasted(ammo, attacker, weapon, bodypart) local sourceTeam = getPlayerTeam(source) local sourceTeamName = getTeamName(sourceTeam) if attacker and (attacker ~= source) then if (getElementType(attacker) == "player") then attackerTeam = getPlayerTeam(attacker) attackerTeamName = getTeamName(attackerTeam) if attackerTeamName ~= sourceTeamName then if (isElementWithinColShape(attacker, gang_Col[sourceTeamName])) then if (WarsGangZone[attackerTeamName][sourceTeamName] < 3) then destroyWarsGangZoneStats(attackerTeamName, sourceTeamName) WarsGangZone[attackerTeamName][sourceTeamName] = WarsGangZone[attackerTeamName][sourceTeamName]+1 if (WarsGangZone[attackerTeamName][sourceTeamName] == 1) then outputChatBox("bla bla"..getPlayerName(attacker).." bla "..attackerTeamName.." bla bla bla "..sourceTeamName.."!", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[sourceTeamName], true) setTimer(FlashingStop,60000,1,sourceTeamName,attackerTeamName) end elseif (WarsGangZone[attackerTeamName][sourceTeamName] == 3) then WarsGangZone[attackerTeamName][sourceTeamName] = 4 r, g, b = getTeamColor(attackerTeam) setRadarAreaColor(gang_Area[sourceTeamName], r, g, b, 175) outputChatBox(" "..attackerTeamName.." "..sourceTeamName.."", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[sourceTeamName], false) gangZone[sourceTeamName] = attackerTeamName end elseif (isElementWithinColShape(attacker, gang_Col[attackerTeamName])) then if gangZone[attackerTeamName] ~= attackerTeamName then if (WarsGangZone[attackerTeamName][attackerTeamName] < 3) then destroyWarsGangZoneStats(attackerTeamName, attackerTeamName) WarsGangZone[attackerTeamName][attackerTeamName] = WarsGangZone[attackerTeamName][attackerTeamName] + 1 if (WarsGangZone[attackerTeamName][attackerTeamName] == 1) then setRadarAreaFlashing(gang_Area[attackerTeamName], true) outputChatBox("#FF3300[Damn]: "..getPlayerName(attacker).." èç "..attackerTeamName.." Bla bla bla!", getRootElement(), 0, 0, 0,true) setTimer(FlashingStop,60000,1,sourceTeamName,attackerTeamName) end elseif (WarsGangZone[attackerTeamName][attackerTeamName] == 3) then WarsGangZone[attackerTeamName][attackerTeamName] = 4 r, g, b = getTeamColor(attackerTeam) setRadarAreaColor(gang_Area[attackerTeamName], r, g, b, 175) outputChatBox("#FF3300[PDamn]: "..attackerTeamName.." bla bla bla!", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[attackerTeamName], false) gangZone[attackerTeamName] = attackerTeamName end end end end end end end addEventHandler("onPlayerWasted", getRootElement(), PlayerGangWasted) si esto funcionase, creo que me tocaria agregar a cada gang dentro del script.
-
Si claro.. la posZ puedes calcularla.... si la pos del freeroam te da 11 metros simplemente pone 0 - 51 metros.. agregale 40 metros adicional a la posicion maxima de altura, es muy sencillo. o si quiere que se capturen las zonas a cualquier altura que le ponga 1.000 y listo asi se rompe menos la cabeza. ----- ahora entiendo a que te refieres.. las dos primeras son de la ubicacion y las otras dos de la anchura... si tienes razon es dificil que queden las Colshape bien ubicadas unas con las otras... concuerdo con lo del recurso.
-
El panel freeroam tambn es util para esto... el freeroam en la opcion "map"tienes las 3 posiciones. saludos
-
Tienes dos preguntas en una; la primera es como hacer "scripts" bueno te recomiendo que visites la wiki y aprendas algunas funciones basicas Por la segunda pregunta sobre hacer misiones la resolveras cuando aprendas algo. Saludos.
-
Jajajajaja AlvareZ puto The Gang Colombia Wars era mi server PD: lo de puto es en juego.
-
De nada, un placer ayudarte
-
http://www.multitheftauto.com/hosters/ ahi tienes muchas empresas... o si tienes limitaciones de pago te recomiendo sawhost.net como dice alexs.. son buenos hosting e incluso tengo un servidor ahi y estoy pensando en comprar dos meses el lunes ( son muy baratos ).
-
Cuentame acerca de tu servidor
PhantomDamn replied to diegofkda's topic in Servidores en donde jugar
Copialo el BBcode: http://www.game-state.eu/192.3.104.138:22364/banner/ -
Cuentame acerca de tu servidor
PhantomDamn replied to diegofkda's topic in Servidores en donde jugar
Se ve genial.. tengo rato que no juego racer pasare a verlo! PD: cambia tu barnner se ve feo -------------------- editado: te recomiendo un respawn fixed para los vehiculos!
