JkR
Members-
Posts
55 -
Joined
-
Last visited
Everything posted by JkR
-
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.
-
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?
-
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
-
Forget it, i fix it was elseif ( pTeam ) and ( teamName ) then
-
Now works team, but when you enter the turf being the team not the turf is won
-
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 )
-
I want to make one team can take the turf, no errors in the debugscript
-
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?
-
The turfs are created in the 'turfs' table within your database. TThe database it is in NGSQL?
-
How can i create a turf in NGTurf?
-
Tampoco tira errores el debugscript con ese
-
Con eso ni si quiera crea el objeto y no manda ningun mensaje el debug
-
Entonces, cual es el error? porque sigue sin funcionar
-
Sigue sin funcionar