Jump to content

Resource de Agua.


Recommended Posts

Buenas hace tiempo arme un servidor en el cual encontré un recurso que ocupaba todo el mapa de Agua, Subia el nivel del agua y suprimia todo el mapa de lo que viene siendo el GTA San andreas, Me gustaria saber si alguien puede aportarme ese recurso ya que voy a armar el servidor de nuevo y no lo encuentro por ningun lado. Ademas de aumentar el nivel del mar lo que hacia era suprimir las casas, coches originales. Se les agradeceria la ayuda, Un saludo !!.

Link to comment

@elcanario Ejemplo de la wiki que hace justamente lo que quieres:

-- Setting water properties.
height = 40
SizeVal = 2998
-- Defining variables.
southWest_X = -SizeVal
southWest_Y = -SizeVal
southEast_X = SizeVal
southEast_Y = -SizeVal
northWest_X = -SizeVal
northWest_Y = SizeVal
northEast_X = SizeVal
northEast_Y = SizeVal

-- OnClientResourceStart function that creates the water.
function thaResourceStarting( )
    water = createWater ( southWest_X, southWest_Y, height, southEast_X, southEast_Y, height, northWest_X, northWest_Y, height, northEast_X, northEast_Y, height )
    setWaterLevel ( height )
end
addEventHandler("onClientResourceStart", resourceRoot, thaResourceStarting)

 

Link to comment

Veo el título y digo: 'Esto sería útil para la gente que no posee agua potable.'

5 minutes ago, elcanario said:

Que funcion hace ahi que el mapa original se elimine.? estoy un poco perdido xD 

-- AÑADE ESTO

for i=550,20000 do
    removeWorldModel(i,10000,0,0,0)
end

 

Con eso te eliminas cualquier modelo del mapa. ( Créditos para la Wiki de MTA ).

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...