Jump to content

DarkNeSsOak

Members
  • Posts

    33
  • Joined

  • Last visited

Posts posted by DarkNeSsOak

  1. *Al comprar 1 mochila la que tenga anterior mente se destruya.

    *Si se tiene por ejemplo una mochila con 20 slot y esta llena o este casi llena al tratar de comprar otra con menos slots no se pueda comprar ( ejemplo 2: tengo 2 arma y una de ellas es de 4 slots y la otra de 7 teniendo yo una mochila de 13 slots o más al yo tratar de comprar una de menos slots por decir mochila novato de 10 o menos no se pueda comprar.)

  2. /-Metodo de pago paypal

    Hola, solicito un scripter experiencia que sea atento a las instrucciones al hacer el siguiente script:

    El script se trata de armas limitadas por mochilas con slots que sea agregado a una tienda y crear tienda de mochilas me explicó:

    *Las armas por ejemplo la m4 supongamos que tiene 10 slot entonces yo tengo una mochila de 7 slots (al yo tratar de comprar el arma no se podría porque tengo una mochila de 7 slot).(se pasará el script "Mabako services" para Integrar la limitación de compra de armas)

    *Las mochilas deben ser tipo dayz o pubg osea que estén el la espalda con 2 armas por los lados primarias (m4 y sniper por ejemplo)

    *Debe haber una tienda de mochilas que tengan un determinado slot ejemplo "mochila coyote, 27 slot" "mochila militar, 20". Así ps 

    *Las mochilas al morir se deben guardar (que no se bugeen al morir los jugadores)

    *Al aparecer el jugador debe aparecer con la mochila que se allá comprado

    *Al registrarte el jugador debe tener asignada una mochila con sus respectivos slots y armas(osea que el jugador cuando se registre por primera vez en el servidor se le otorgue una mochila ejemplo mochila de principiante 20 slots)

    *Que no allá ningún tipo de bugs con las mochilas (ejemplo que al cambiase skin se queden como paralizadas, al morir el jugador que no se vea la mochila, al subirse a un auto se desaparesca la mochila y al bajase se vuelva aparecer)

    *Que allá un panel tipo pubg que se pueda ver las armas que tiene el jugador, que se vean los slots de la mochila que tiene e el jugador y también los slots de las armas (el panel se discute con el scripter más detalladamente).

    *Que los administradores puedan otorgarles mochilas a los jugadores con un comando ejemplo /darM Nick (nombre de la mochila)

    *Los jugadores tengan un comando para hacer desaparecer las mochilas junto con las armas primarias que tenga a los lados (ojo desaparecer no destruir), ejemplo /showmochila (on / off ). Cuando el jugador use ese comando se deben desaparecer todas las mochilas que tengas los jugadores así mismo que aparescan de nuevo.

     

     

  3. Hola les agradecería la ayuda, no logro solucionar este warning.

    WARNING: [Nz]-CokData/puerta1.lua:31: Bad argument @ 'GetPlayerTeam [Expected player at argument 1, got vehicle]

    Tambien me pasa con la linea 7

    ------- Creado por STORMALIXSCRIPTER' ----------
    objeto = createObject ( 3115, 1447.6999511719, 664.70001220703, 5.3000001907349, 0, 90, 270 )
    x,y,z = getElementPosition (objeto)
    Zona = createColCircle ( x,y, 5, 5 )
    
    function Funcion (source)
        playerTeam = getPlayerTeam ( source ) 
    	Clann = getTeamFromName ( "*C.O.K*" ) 
    	if ( playerTeam ) == Clann then
            moveObject ( objeto, 2000, 1447.6999511719, 664.70001220703, -0.89999997615814, 0, 0, 0 )
    	outputChatBox ( "Bienvenido a C.O.K", source, 0, 255, 0, true )
    	else
    	outputChatBox ( "Tu no eres del clan!", source, 255, 0, 0, true )
    end
    end
    addEventHandler ( "onColShapeHit", Zona, Funcion )
    
    function Funcion2 ()
            moveObject ( objeto, 3000, 1447.6999511719, 664.70001220703, 5.3000001907349, 0, 0, 0 )
    		outputChatBox ( "Puerta Cerrandose", source, 0, 255, 0, true )
    end
    addEventHandler ( "onColShapeLeave", Zona, Funcion2 )
    
    -------Puerta2------------Puerta2----------------Puerta2-------------------
    
    objeto1 = createObject ( 3115, 1398.1999511719, 730.40002441406, 6.5, 0, 270, 0 )
    x,y,z = getElementPosition (objeto1)
    Zona = createColCircle ( x,y, 5, 5 )
    
    function Funcion (source)
        playerTeam = getPlayerTeam ( source )
    	Clann = getTeamFromName ( "*C.O.K*" )
    	if ( playerTeam ) == Clann then
            moveObject ( objeto1, 2000, 1398.1999511719, 730.40002441406, 1.2000000476837, 0, 0, 0 )
    	outputChatBox ( "Bienvenido a C.O.K", source, 0, 255, 0, true )
    	else
    	outputChatBox ( "Tu no eres del clan!", source, 255, 0, 0, true )
    end
    end
    addEventHandler ( "onColShapeHit", Zona, Funcion )
    
    function Funcion2 ()
            moveObject ( objeto1, 3000, 1398.1999511719, 730.40002441406, 6.5, 0, 0, 0 )
    		outputChatBox ( "Puerta Cerrandose", source, 0, 255, 0, true )
    end
    addEventHandler ( "onColShapeLeave", Zona, Funcion2 )

     

  4. Ayuda por favor, al matar al "hades" salga por un cierto tiempo el segundo "crazy" sin que respawnee de nuevo al boss "hades" hasta matar al boss "crazy",  no logro hacerlo sin que me salga bien solo cuando mato al primero sale los 2 al mismo tiempo que le puse (60 segundos). 

     

    Server side:

        function boss0 ( )   
         hades = exports [ "slothBot" ]:spawnBot ( 1184.654, -2038.601, 69.008, 90,  math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true ) 
         exports.extra_health:setElementExtraHealth(hades, 1000) 
    	 setElementModel ( hades, 38 ) 
         setElementData (hades, "boss", true) 
         outputChatBox ("#9E0000Boss Hades!!",getRootElement(), 255, 255, 255, true ) 
        
    end 
    addEventHandler("onResourceStart", resourceRoot, boss0)    
      
      
    --Boss1 
    function Boss1 ( )   
        crazy = exports [ "slothBot" ]:spawnBot ( 1262.77, -2029.756, 59.341, 90,  math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true ) 
         exports.extra_health:setElementExtraHealth(crazy, 1000) 
    	 setElementModel ( crazy, 312 ) 
         setElementData (crazy, "boss", true) 
         
     end   
      
      
      
      
    function money (theKiller) 
    if getElementData(source,"boss")==true then 
    local premio = math.random(1000,5000) 
    givePlayerMoney(theKiller,premio) 
    outputChatBox ( getPlayerName ( theKiller ) .. " #081DBFMato al Boss!, Ha Ganado $".. premio .." platica :v",getRootElement(), 255, 255, 255, true ) 
    if source == hades then 
    setTimer(boss0, 60000, 1) 
    end 
    if (not isElement(crazy)) then 
    setTimer(Boss1, 60000, 1) 
    end 
    end 
    end 
    addEvent("onBotWasted", true) 
    addEventHandler("onBotWasted", getRootElement(), money) 

     

  5. Ayuda porfavor como pongo musica en Login :)

    Server side:

    function addNotification(player, text, type)
    	if (player and text and type) then
    		triggerClientEvent(player, 'addNotification', player, text, type);
    	end
    end
    
    
    function loginPlayer(source, username, password)
    
    			local account = getAccount ( username )
    			
    			if ( account ~= false ) then
    			local account = getAccount ( username, password )
    			if ( account ~= false ) then
    			    addNotification(source, "Te has logeado correctamente!", "success")
    				logIn (source, account, password)
    				triggerClientEvent("belepesfunkctsiker", source)
    			else
    			addNotification(source, "Contraseña Incorrecta!", "error")
    			end
    			else
    			addNotification(source, "Contraseña Incorrecta!", "error")
    			end
    			
    end
    
    addEvent("attemptLogin", true)
    addEventHandler("attemptLogin", getRootElement(), loginPlayer)
    
    function registerPlayer(source, username, password)
    local account = getAccount (username)
    if (account == false) then
    local accountAdded = addAccount(tostring(username),tostring(password))
    if (accountAdded) then
    triggerClientEvent("belepesfunkctsikerregisztracio", source)
    addNotification(source, "Has creado la cuenta correctamente! Logeate para obtener tu nueva cuenta.", "success")
    else
    
    addNotification(source, "Un error a ocurrido!", "error")
    
    end
    
    else
    addNotification(source, "Una cuenta con el Username que ingreso ya existe!", "error")
    
    
    end
    end
    
    addEvent("attemptRegister", true)
    addEventHandler("attemptRegister", getRootElement(), registerPlayer)
    
    addEventHandler("onPlayerCommand", root,
    function(cmd)
         if cmd == "logout" then
              cancelEvent()
         elseif cmd == "register" then
              cancelEvent()
    	     elseif cmd == "login" then
              cancelEvent()
    		 
         end
    end)

     

     

    Client Side:

     

    local screenWidth, screenHeight = guiGetScreenSize()
    
    local page = "http://mta/local/index.html"
    local initBrowser = guiCreateBrowser(0, 0, screenWidth, screenHeight, true, true, false)
    
    local theBrowser = guiGetBrowser(initBrowser)
    
    addEventHandler("onClientBrowserCreated", theBrowser, 
    	function()
    		loadBrowserURL(source, page)
    		showCursor(true)
    		guiSetInputEnabled(true)
    
    addNotification("Porfavor Crea una cuenta o logeate!", "info")
    
    	end
    )
    
    
    function belepesfunkc(UsernameValue, PasswordValue)
    username = tostring(UsernameValue)
    password = tostring(PasswordValue)
    UsernameValue = nil
    PasswordValue = nil
    
    if (string.len(username)<4) then
    addNotification("Username should be at least 4 characters long.", "warning")
    elseif (string.len(username)>35) then
    addNotification("Username not be longer than 35 characters.", "warning")
    elseif (string.len(password)<4) then
    addNotification("Password should be at least 4 characters long.", "warning")
    elseif (string.len(password)>35) then
    addNotification("Password not be longer than 35 characters.", "warning")
    else
    triggerServerEvent("attemptLogin", getRootElement(), getLocalPlayer(), username, password)
    end
    
    end
    
    addEvent("belepesfunkc", true)
    addEventHandler("belepesfunkc", root, belepesfunkc)
    
    
    function belepesfunkct()
    destroyElement(initBrowser)
    destroyElement(zene)
    guiSetInputEnabled(false)
    showCursor(false)
    end
    
    addEvent("belepesfunkctsiker", true)
    addEventHandler("belepesfunkctsiker", getLocalPlayer(), belepesfunkct)
    
    function belepesfunkctsikerregisztraciohandler()
    executeBrowserJavascript ( theBrowser, "gotologinfromregister()" )
    end
    
    addEvent("belepesfunkctsikerregisztracio", true)
    addEventHandler("belepesfunkctsikerregisztracio", getLocalPlayer(), belepesfunkctsikerregisztraciohandler)
    
    function belepesfunkcregisztral(UsernameValue, PasswordValue, PasswordConfirmValue)
    username = tostring(UsernameValue)
    password = tostring(PasswordValue)
    passwordC = tostring(PasswordConfirmValue)
    UsernameValue = nil
    PasswordValue = nil
    PasswordConfirmValue = nil
    
    if (string.len(username)<4) then
    addNotification("El nombre de usuario debe tener al menos 4 caracteres.", "warning")
    elseif (string.len(username)>35) then
    addNotification("El nombre de usuario no debe tener más de 35 caracteres.", "warning")
    elseif (string.len(password)<4) then
    addNotification("La contraseña debe tener al menos 4 caracteres.", "warning")
    elseif (string.len(password)>35) then
    addNotification("La contraseña no debe tener más de 35 caracteres.", "warning")
    elseif (password ~= passwordC) then
    addNotification("Las contraseñas no coinciden.", "error")
    else
    triggerServerEvent("attemptRegister", getRootElement(), getLocalPlayer(), username, password)
    end
    
    end
    
    addEvent("belepesfunkcregisztral", true)
    addEventHandler("belepesfunkcregisztral", root, belepesfunkcregisztral)
    
    local displayWidth, displayHeight = guiGetScreenSize();
    
    local notificationData = {};
    
    local notificationFont = dxCreateFont('files/fonts/roboto.ttf', 12 * 2, false);
    local iconsFont = dxCreateFont('files/fonts/icons.ttf', 12 * 2, false);
    
    addEventHandler('onClientRender', root,
    	function()
    		for k, v in pairs(notificationData) do
    			if (v.State == 'fadeIn') then
    				local alphaProgress = (getTickCount() - v.AlphaTick) / 650;
    				local alphaAnimation = interpolateBetween(0, 0, 0, 255, 0, 0, alphaProgress, 'Linear');
    				
    				if (alphaAnimation) then
    					v.Alpha = alphaAnimation;
    				else
    					v.Alpha = 255;
    				end
    				
    				if (alphaProgress > 1) then
    					v.Tick = getTickCount();
    					v.State = 'openTile';
    				end
    			elseif (v.State == 'fadeOut') then
    				local alphaProgress = (getTickCount() - v.AlphaTick) / 650;
    				local alphaAnimation = interpolateBetween(255, 0, 0, 0, 0, 0, alphaProgress, 'Linear');
    				
    				if (alphaAnimation) then
    					v.Alpha = alphaAnimation;
    				else
    					v.Alpha = 0;
    				end
    				
    				if (alphaProgress > 1) then
    					notificationData = {};
    				end
    			elseif (v.State == 'openTile') then
    				local tileProgress = (getTickCount() - v.Tick) / 350;
    				local tilePosition = interpolateBetween(v.StartX, 0, 0, v.EndX, 0, 0, tileProgress, 'Linear');
    				local tileWidth = interpolateBetween(0, 0, 0, v.Width, 0, 0, tileProgress, 'Linear');
    				
    				if (tilePosition and tileWidth) then
    					v.CurrentX = tilePosition;
    					v.CurrentWidth = tileWidth;
    				else
    					v.CurrentX = v.EndX;
    					v.CurrentWidth = v.Width;
    				end
    				
    				if (tileProgress > 1) then
    					v.State = 'fixTile';
    					
    					setTimer(function()
    						v.Tick = getTickCount();
    						v.State = 'closeTile';
    					end, string.len(v.Text) * 45 + 5000, 1);
    				end
    			elseif (v.State == 'closeTile') then
    				local tileProgress = (getTickCount() - v.Tick) / 350;
    				local tilePosition = interpolateBetween(v.EndX, 0, 0, v.StartX, 0, 0, tileProgress, 'Linear');
    				local tileWidth = interpolateBetween(v.Width, 0, 0, 0, 0, 0, tileProgress, 'Linear');
    				
    				if (tilePosition and tileWidth) then
    					v.CurrentX = tilePosition;
    					v.CurrentWidth = tileWidth;
    				else
    					v.CurrentX = v.StartX;
    					v.CurrentWidth = 0;
    				end
    				
    				if (tileProgress > 1) then
    					v.AlphaTick = getTickCount();
    					v.State = 'fadeOut';
    				end
    			elseif (v.State == 'fixTile') then
    				v.Alpha = 255;
    				v.CurrentX = v.EndX;
    				v.CurrentWidth = v.Width;
    			end
    			
    			roundedRectangle(v.CurrentX, 20, 25 + v.CurrentWidth, 25, tocolor(0, 0, 0, 150 * v.Alpha / 255), _, true);
    			dxDrawRectangle(v.CurrentX, 20, 25, 25, tocolor(0, 0, 0, 255 * v.Alpha / 255), true);
    			
    			if (v.Alpha == 255) then
    				dxDrawText(v.Text, v.CurrentX + 25 + 10, 20, v.CurrentX + 25 + 10 + v.CurrentWidth - 20, 20 + 25, tocolor(255, 255, 255, 255), 0.40, notificationFont, 'center', 'center', true, false, true);
    			end
    			
    			if (v.Type == 'error') then
    				dxDrawText('', v.CurrentX + 5, 20, v.CurrentX + 5 + 25 - 10, 20 + 25, tocolor(215, 90, 90, v.Alpha), 0.50, iconsFont, 'center', 'center', false, false, true);
    			elseif (v.Type == 'warning') then
    				dxDrawText('', v.CurrentX + 5, 20, v.CurrentX + 5 + 25 - 10, 20 + 25, tocolor(220, 180, 80, v.Alpha), 0.50, iconsFont, 'center', 'center', false, false, true);
    			elseif (v.Type == 'info') then
    				dxDrawText('', v.CurrentX + 5, 20, v.CurrentX + 5 + 25 - 10, 20 + 25, tocolor(85, 180, 245, v.Alpha), 0.50, iconsFont, 'center', 'center', false, false, true);
    			elseif (v.Type == 'success') then
    				dxDrawText('', v.CurrentX + 5, 20, v.CurrentX + 5 + 25 - 10, 20 + 25, tocolor(80, 205, 105, v.Alpha), 0.50, iconsFont, 'center', 'center', false, false, true);
    			end
    		end
    	end
    )
    
    addEvent('addNotification', true);
    function addNotification(text, type)
    	if (text and type) then
    		if (notificationData ~= nil) then
    			table.remove(notificationData, #notificationData);
    		end
    		
    		table.insert(notificationData,
    			{
    				StartX = (displayWidth / 2) - (25 / 2),
    				EndX = (displayWidth / 2) - ((dxGetTextWidth(text, 0.40, notificationFont) + 20 + 25) / 2),
    				Text = text,
    				Width = dxGetTextWidth(text, 0.40, notificationFont) + 20,
    				Alpha = 0,
    				State = 'fadeIn',
    				Tick = 0,
    				AlphaTick = getTickCount(),
    				CurrentX = (displayWidth / 2) - (25 / 2),
    				CurrentWidth = 0,
    				Type = type or 'info'
    			}
    		);
    		
    		playSoundFrontEnd(11);
    	end
    end
    addEventHandler('addNotification', root, addNotification);
    
    function roundedRectangle(x, y, w, h, borderColor, bgColor, postGUI)
    	if (x and y and w and h) then
    		if (not borderColor) then
    			borderColor = tocolor(0, 0, 0, 200);
    		end
    		
    		if (not bgColor) then
    			bgColor = borderColor;
    		end
    		
    		--> Background
    		dxDrawRectangle(x, y, w, h, bgColor, postGUI);
    		
    		--> Border
    		dxDrawRectangle(x + 2, y - 1, w - 4, 1, borderColor, postGUI); -- top
    		dxDrawRectangle(x + 2, y + h, w - 4, 1, borderColor, postGUI); -- bottom
    		dxDrawRectangle(x - 1, y + 2, 1, h - 4, borderColor, postGUI); -- left
    		dxDrawRectangle(x + w, y + 2, 1, h - 4, borderColor, postGUI); -- right
    	end
    end
    
    

     

    Les agradeceria la ayuda :)

  6. Hola gente bella del Foro, Tengo un pequeño inconveniente Con el boss, lo que quiero hacer que cuando el boss salga se active una Zona Segura que cuando entren los Zombies Mueran no solo esto, si no que los jugarores no se puedan pegar (Hacer daño entre si Solo el boss) en dicha Zona y cuando muera el boss se quite la Zona. se los agradeseria un monton. :) (He intentado con otros script de zona segura y no he podido Hacer nada)

  7. Ayuda Zona Segura (Safe Zone) El caso es que quiero que cuando salga el boss se active la zona segura para que los player no se hagan daño cuando salga el boss y lo que pasa es que el boss no hace daño cuando esta dentro de dicha zona, esta Zona tambien es para que no entren los Zombies. Junte El safe Zone Con el boss para que cuando salga se active el safe Zone pero nose como hacer que cuando muera el boss se quite el safe Zone Ayuda porfavor

    http://imgur.com/hbGEZci

    http://imgur.com/dhTBnZh

    http://imgur.com/lBFnG8V

    http://imgur.com/OMt5OxY

    Server:

    -- Advanced Anti Zombie by Kenix version 1.0.6
    
    --[[
    It's example how use it.
    
    Change this
    ]]
    
    
    local aSavePlaces = 
    {
    
        Rectangle =
        {
            -- X, Y, Width, Height
            { 1115.0374755859, -2117.1108398438, 130, 140 };
        };
    
    }
    
    local aRadarAreaPlaces = 
    {
        -- x,  y ,size 1, size 2, color: red, green, blue, alpha.
        { 1115.0374755859, -2117.1108398438, 130, 140, 0, 255, 0, 255 };
        { 2773, -2430, 30, 30, 0, 255, 0, 255 };
    }
    
    local sResourceName                = getResourceName ( resource )
    local bUseGunsInSavePlace          = get( sResourceName .. '.UseGunsInSaveZone' )
    local bUseRadarArea                = get( sResourceName .. '.UseRadarArea' )
    local pColshape, pRadarArea
    
    local bUseRunInSaveZone         = get( sResourceName .. '.UseRunInSaveZone' )
    local bUseJumpInSaveZone           = get( sResourceName .. '.UseJumpInSaveZone' )
    local bUseWeaponHudInSaveZone      = get( sResourceName .. '.UseWeaponHudInSaveZone' )
    local bUseAmmoHudInSaveZone       = get( sResourceName .. '.UseAmmoHudInSaveZone' )
    
    local bUseDamageInSaveZone       = get( sResourceName .. '.UseDamageInSaveZone' )
    
    addEventHandler ( 'onResourceStart', resourceRoot, 
        function ( )
            for s, _ in pairs( aSavePlaces ) do
                for _, a in pairs( aSavePlaces[ s ] ) do
                    pColshape = _G[ 'createCol' .. s ]( unpack( a ) )
                    setElementData( pColshape, 'zombieProof', true )
                    addEventHandler ( 'onColShapeHit', pColshape, 
                        function ( pHitElement )
                            if getElementType( pHitElement ) == 'player' then
                                if not bUseGunsInSavePlace then
                                    toggleControl ( pHitElement, 'fire', false )
                                    toggleControl ( pHitElement, 'aim_weapon', false )
                                    toggleControl ( pHitElement, 'vehicle_fire', false )
                                end
                                if not bUseRunInSaveZone then
                                    toggleControl ( pHitElement, 'sprint', false )
                                end
                                if not bUseJumpInSaveZone then
                                    toggleControl ( pHitElement, 'jump', false )
                                end
                                if not bUseWeaponHudInSaveZone then
                                    showPlayerHudComponent ( pHitElement, 'weapon', false ) 
                                end
                                if not bUseAmmoHudInSaveZone then
                                    showPlayerHudComponent ( pHitElement, 'ammo', false ) 
                                end
                                if not bUseDamageInSaveZone then
                                    setElementData( pHitElement, 'damage', 'no' )
                                end    
                            elseif getElementType( pHitElement ) == 'ped' then -- check if the entered ped kill it  
                                killPed( pHitElement ) -- kill ped
                            end 
                        end
                    )   
                    addEventHandler ( 'onColShapeLeave', pColshape, 
                        function ( pLeaveElement )
                            if getElementType( pLeaveElement ) == 'player' then
                                if not bUseGunsInSavePlace then
                                    toggleControl ( pLeaveElement, 'fire', true )
                                    toggleControl ( pLeaveElement, 'aim_weapon', true )
                                    toggleControl ( pLeaveElement, 'vehicle_fire', true )
                                end
                                if not bUseRunInSaveZone then
                                    toggleControl ( pLeaveElement, 'sprint', true )
                                end
                                if not bUseJumpInSaveZone then
                                    toggleControl ( pLeaveElement, 'jump', true )
                                end
                                if not bUseWeaponHudInSaveZone then
                                    showPlayerHudComponent ( pLeaveElement, 'weapon', true ) 
                                end
                                if not bUseAmmoHudInSaveZone then
                                    showPlayerHudComponent ( pLeaveElement, 'ammo', true ) 
                                end
                                if not bUseDamageInSaveZone then
                                    setElementData( pLeaveElement, 'damage', 'yes' )
                                end     
                            elseif getElementType( pLeaveElement ) == 'ped' then -- check if the entered ped kill it
                                killPed( pLeaveElement ) -- kill ped
                            end
                        end
                    )
                end
            end
            if bUseRadarArea then
                for _, a in ipairs( aRadarAreaPlaces ) do
                    pRadarArea = createRadarArea ( unpack( a ) )
                end
            end
        end    
    ) 

     

    _____________________________________________________________________________________________________________

    Client:

    addEventHandler( 'onClientPlayerDamage', localPlayer,
        function( )
            if getElementData( localPlayer, 'damage' ) == 'no' then
                cancelEvent( )
            end
        end
    )


        
    __________________________________________________________________________________________________________________

    Meta:

    <meta>
        <info author="stor" version="1.0" type="script" name="Boomer" description="LauraSad" />
    
        <script src="server.lua" type="server" />
        <script src="client.lua" type="client" />
    
        <file src="skin/boomer.txd" />
        <file src="skin/boomer.dff" />
        <file src="skin/zombi.txd" />
        <file src="skin/zombi.dff" />
    
        <file src="sonido1.mp3" />
        <file src="sonido2.mp3" />
        <file src="boom.wav" />
    
        <include resource="extra_health" />
        <include resource="slothbot" />
        <script src="core_server.lua"       type="server"/>
        <script src="core_client.lua"       type="client"/>
        <settings>
            <!-- option 1 -->   <setting name="#UseGunsInSaveZone"         value="[ true ]" />  
            <!-- option 2 -->   <setting name="#UseRadarArea"              value="[ true  ]" />
    
                                     <!-- Added in version 1.0.1 -->
    
            <!-- option 3 -->   <setting name="#UseRunInSaveZone"          value="[ true ]" />  
            <!-- option 4 -->   <setting name="#UseJumpInSaveZone"         value="[ true ]" />
            <!-- option 5 -->   <setting name="#UseWeaponHudInSaveZone"    value="[ true ]" />
            <!-- option 6 -->   <setting name="#UseAmmoHudInSaveZone"      value="[ true ]" />
                                    <!-- Added in version 1.0.4 -->
            <!-- option 7 -->   <setting name="#UseDamageInSaveZone"      value="[ false ]" />                        
                            
            <!-- option 1 = If a player enters the zone, he can not use a gun  -->
            <!-- option 2 = use this option if you want to use Radar Area (color map)  -->
    
                                            <!-- Added in version 1.0.1 -->
            <!-- option 3 = If you are using false then you can not run in this area and if you use true you will be able to run in this area   -->
            <!-- option 4 = If you are using false then you can not jump in this area and if you use true you will be able to jump in this area  -->
            <!-- option 5 = this option is responsible for the weapon if you use false then when you go into this zone your weapon (HUD) is not visible and if true then the opposite  -->
            <!-- option 6 = this option is responsible for the ammo if you use false when you go in this area and ammo (HUD) is not visible and if true then the opposite  -->
    
                                             <!-- Added in version 1.0.4 -->
            <!-- option 7 = this option is if damage you if use false then canceled damage  -->
            <!-- Notice: all options are on default -->
        </settings>
    </meta>

     

×
×
  • Create New...