Jump to content

JkR

Members
  • Posts

    55
  • Joined

  • Last visited

Everything posted by JkR

  1. This problem has been going on since 2013, when I started in MTA did not happen to me, but now, all servers that have the port 22003 that I get are off and i can't join, I have long been trying to fix it, but I have not got, please help me! Este problema, me lleva ocurriendo desde hace un par de años, cuando empece en MTA no me ocurría, pero ahora todos los servidores que tienen el puerto 22003 me sale que están apagados y no puedo entrar, llevo mucho tiempo intentando solucionarlo, pero no lo he conseguido, ayudame por favor.
  2. JkR

    Help [TURF]

    function NeedMsg(p,n,source) local text, _, r, g, b, hex = unpack ( messages [ n ] ) outputChatBox ( tostring ( text ), source, r, g, b, hex ) end iria asi?
  3. JkR

    Help [TURF]

    I have new problem!!! messages to all players are shown, and I want to show only the source messages = { [1] = {"Sobrevive 10 minutos para capturar esta zona",p,255, 255, 255,true}, [2] = {"Entrando a una zona aliada",p,255, 255, 255,true}, [3] = {"Necesitas estar en un clan para conquistar un turf",p,255, 255, 255,true}, [4] = {"Has capturado la zona",p,255, 255, 255,true}, [5] = {"Debes entrar a la zona sin vehiculos",p,255, 255, 255,true}, [6] = {"Estas entrando a una zona",p,255, 255, 255,true}, [7] = {"Estas saliendo de una zona",p,255, 255, 255,true} } function NeedMsg(p,n,source) if (n) then outputChatBox(unpack(messages[n])) end end
  4. JkR

    Help [TURF]

    Forget it, i fix it was elseif ( pTeam ) and ( teamName ) then
  5. JkR

    Help [TURF]

    Now works team, but when you enter the turf being the team not the turf is won
  6. JkR

    Help [TURF]

    No, because it's all in one line...
  7. JkR

    Help [TURF]

    Can you send me the ordered code?
  8. JkR

    Help [TURF]

    function NeedMsg(p,n,getOwnedBy) if (n) then outputChatBox(unpack(messages[n])) end end --[[ ZONE CREATION ]]-- addEventHandler('onColShapeHit', pCuboid1, function(p) NeedMsg(p,6) if (getPlayerTeam(p)) then NeedMsg(p,1) local pTeam = getPlayerTeam( p ) local teamName = getTeamName(pTeam) == "Equipo2" local iR, iG, iB = getTeamColor( pTeam ) local rR, gG, bB = getRadarAreaColor( pArea1 ) local data = getElementData(pCuboid1, "friendly") if ( iR == rR ) and ( iG == gG ) and ( iB == bB ) and ( data == "yes" ) then elseif ( pTeam ) and ( teamName ) then else setRadarAreaFlashing( pArea1, true ) capturing = setTimer( function( ) setElementData(pCuboid1, "friendly", "yes") setElementData(pCuboid1, "ownedBy", getTeamName(pTeam)) givePlayerMoney( p, 4000 ) NeedMsg(p,4) setRadarAreaColor( pArea1, iR, iG, iB ) setRadarAreaFlashing( pArea1, false ) end, 6000, 1 ) end else NeedMsg(p,3) end if (getPedOccupiedVehicle( p )) then NeedMsg(p,5) end end ) addEventHandler('onColShapeLeave', pCuboid1, function(p) setRadarAreaFlashing( pArea1, false ) if isTimer(capturing) then killTimer(capturing) end NeedMsg(p,7) end )
  9. JkR

    Help [TURF]

    doesn't work too
  10. JkR

    Help [TURF]

    I want to make one team can take the turf, no errors in the debugscript
  11. JkR

    Help [TURF]

    if (getPlayerTeam(p)) then NeedMsg(p,1) local pTeam = getPlayerTeam( p ) local teamName = getTeamName(pTeam) == "Equipo2" local iR, iG, iB = getTeamColor( pTeam ) local rR, gG, bB = getRadarAreaColor( pArea1 ) local data = getElementData(pCuboid1, "friendly") if ( iR == rR ) and ( iG == gG ) and ( iB == bB ) and ( data == "yes" ) then HI! i want to make a turf but it can only take a team, I try this, but not work, any help?
  12. The turfs are created in the 'turfs' table within your database. TThe database it is in NGSQL?
  13. How can i create a turf in NGTurf?
  14. Tampoco tira errores el debugscript con ese
  15. Con eso ni si quiera crea el objeto y no manda ningun mensaje el debug
  16. Entonces, cual es el error? porque sigue sin funcionar
×
×
  • Create New...