Jump to content

esto se puede hacer?


Plate

Recommended Posts

Posted

Como se podria hacer que cuando el player se saque vida se le vaya recuperando de apoco :D

Visita Full GameZ DayZ Mod

Server IP: mtasa://158.69.125.144:29015

Posted

Podes crear un timer con:

setTimer 
getElementHealth 
setElementHealth 

Es muy facil.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

ok muchas gracias solid tengo un problema con el exp_system en la scoreboard es que cuando el player sale y entra denuevo es level 0 y no puede volver a subir levels

Visita Full GameZ DayZ Mod

Server IP: mtasa://158.69.125.144:29015

Posted

Estan registrados y logueados en el servidor, verdad? ami nunca me paso eso.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

si se logean y cuando salen y vuelven se logean y aparecen en level 0

Visita Full GameZ DayZ Mod

Server IP: mtasa://158.69.125.144:29015

Posted (edited)

Muchas Gracias Solid sos un Groso!

gracias por esforsarte / tomarte el tiempo para arreglar eso

Edited by Guest

Visita Full GameZ DayZ Mod

Server IP: mtasa://158.69.125.144:29015

Posted

Ami no me sale eso.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Si perdon desaparecio la primera ves que lo inicie salio ya esta gracias amigo!

Visita Full GameZ DayZ Mod

Server IP: mtasa://158.69.125.144:29015

Posted

Ahm, de nada.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

No es un chat esto, simplemente postea el problema y si puedo te ayudo.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Esta bien solamente queria saber como poner una imagen pequeña (no un blip una imagen) en el mapa y como remplazar el mapa f11

Visita Full GameZ DayZ Mod

Server IP: mtasa://158.69.125.144:29015

Posted (edited)

exelente muchas gracias solid con ese simple recurso hago los 2 Gracias!!!!!!

solid y sobre eso de los autos ElMota me paso un script para bloquearlos por team y me dijo que cambie las ariavles del mapa bueno hize todo y despues el script no funciono

este es el script

addEventHandler ( "onResourceStart", resourceRoot, 
    function ( ) 
        vehicles = { } 
        for index = 1, 19 do         
            vehicles [ getElementByID ( "autos".. index ) ] = true 
        end 
    end 
) 
  
addEventHandler ( "onVehicleStartEnter", root, 
    function ( thePlayer, seat ) 
        if ( seat ~= 0 ) then 
            return 
        end 
        if ( vehicles [ source ] ) then 
            if ( getPlayerTeam ( thePlayer ) and getTeamName ( getPlayerTeam ( thePlayer ) ) ~= "SAS" ) then 
                outputChatBox ( "Este vehiculo esta restringido a los miembros de SAS", thePlayer, 255, 0, 0 )   
                cancelEvent ( ) 
            end 
        end 
    end 
) 

Edited by Guest

Visita Full GameZ DayZ Mod

Server IP: mtasa://158.69.125.144:29015

Posted

De nada.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
exelente muchas gracias solid con ese simple recurso hago los 2 Gracias!!!!!!

solid y sobre eso de los autos ElMota me paso un script para bloquearlos por team y me dijo que cambie las ariavles del mapa bueno hize todo y despues el script no funciono

este es el script

addEventHandler ( "onResourceStart", resourceRoot, 
    function ( ) 
        vehicles = { } 
        for index = 1, 19 do         
            vehicles [ getElementByID ( "autos".. index ) ] = true 
        end 
    end 
) 
  
addEventHandler ( "onVehicleStartEnter", root, 
    function ( thePlayer, seat ) 
        if ( seat ~= 0 ) then 
            return 
        end 
        if ( vehicles [ source ] ) then 
            if ( getPlayerTeam ( thePlayer ) and getTeamName ( getPlayerTeam ( thePlayer ) ) ~= "SAS" ) then 
                outputChatBox ( "Este vehiculo esta restringido a los miembros de SAS", thePlayer, 255, 0, 0 )   
                cancelEvent ( ) 
            end 
        end 
    end 
) 

Los vehiculos deben estar en un .map agregado al recurso y las ID deben de ser autos1, autos2, autos3.... (los numeros intermedios)... autos19.

OffTopic: xD, ese script lo hicimos por el foro, lo creamos para mi server y @ElMota lo distribuye, wow, pero que pedazo de (cabron) amigo

Developer @ MYVAL

Posted (edited)

ElMota me dijo que era tuyo y alex hize lo que dijistes y no funciona

mira alex haci esta como me dijistes y no funciona

"editor_main"> 
    "pickup (Sniper) (1)" type="34" interior="0" amount="100" respawn="10" dimension="0" ammo="100" name="Sniper" posX="160.623734" posY="1933.336182" posZ="34.398438">
    "object (drydock1_SFSe) (1)" doublesided="false" model="10828" interior="0" dimension="0" name="roof" posX="280.996704" posY="1876.698120" posZ="14.849337" rotX="90.2407954" rotY="-2.57831008" rotZ="1.71887339"> 
    "autos1" paintjob="3" model="433" plate="QHP0 Z35" interior="0" dimension="0" posX="-2270" posY="2300.8999023438" posZ="5.4000000953674" rotX="0" rotY="0" rotZ="270">
    "autos2" paintjob="3" model="433" plate="ABHU ONI" interior="0" dimension="0" posX="-2270.1000976563" posY="2304.8999023438" posZ="5.4000000953674" rotX="0" rotY="0" rotZ="270">
    "autos3" paintjob="3" model="433" plate="GL28 EBV" interior="0" dimension="0" posX="-2270.3999023438" posY="2309.3999023438" posZ="5.4000000953674" rotX="0" rotY="0" rotZ="270">
    "autos4" paintjob="3" model="427" plate="2ZC8 H5O" interior="0" dimension="0" posX="-2271" posY="2285.6000976563" posZ="5.0999999046326" rotX="0" rotY="0" rotZ="274">
    "autos5" paintjob="3" model="427" plate="B4GI OZQ" interior="0" dimension="0" posX="-2271.1999511719" posY="2288.6999511719" posZ="5.0999999046326" rotX="0" rotY="0" rotZ="273.9990234375">
    "autos6" paintjob="3" model="427" plate="Q83D Z9F" interior="0" dimension="0" posX="-2271.1000976563" posY="2291.8000488281" posZ="5.0999999046326" rotX="0" rotY="0" rotZ="273.9990234375">
    "autos7" paintjob="3" model="468" plate="24AG 9OM" interior="0" dimension="0" posX="-2272.3000488281" posY="2294.6000976563" posZ="4.5999999046326" rotX="0" rotY="0" rotZ="274">
    "autos8" paintjob="3" model="468" plate="6XP9 787" interior="0" dimension="0" posX="-2272.1000976563" posY="2297.8000488281" posZ="4.5999999046326" rotX="0" rotY="0" rotZ="276">
    "autos9" paintjob="3" model="497" plate="PQ21 SDM" interior="0" dimension="0" posX="-2227.3000488281" posY="2326.8999023438" posZ="7.8000001907349" rotX="0" rotY="0" rotZ="0">
    "autos10" paintjob="3" model="497" plate="NE2Y 36B" interior="0" dimension="0" posX="-2227.5" posY="2304.3000488281" posZ="5.5999999046326" rotX="0" rotY="0" rotZ="0">
    "autos11" paintjob="3" model="548" plate="STFL 2S5" interior="0" dimension="0" posX="-2294.6999511719" posY="2418.8000488281" posZ="6.5" rotX="0" rotY="0" rotZ="44">
    "autos12" paintjob="3" model="548" plate="OPU2 VSL" interior="0" dimension="0" posX="-2277" posY="2399.8999023438" posZ="6.5" rotX="0" rotY="0" rotZ="43.994750976563">
    "autos13" paintjob="3" model="597" plate="2LVL Q0E" interior="0" dimension="0" posX="-2271.8000488281" posY="2313.1000976563" posZ="4.6999998092651" rotX="0" rotY="0" rotZ="270">
    "autos14" paintjob="3" model="597" plate="H5L5 MSR" interior="0" dimension="0" posX="-2271.6999511719" posY="2316.3999023438" posZ="4.6999998092651" rotX="0" rotY="0" rotZ="270">
    "autos15" paintjob="3" model="425" plate="GBS3 4EI" interior="0" dimension="0" posX="-2294" posY="2240.1000976563" posZ="5.6999998092651" rotX="0" rotY="0" rotZ="0">

addEventHandler ( "onResourceStart", resourceRoot, 
    function ( ) 
        vehicles = { } 
        for index = 1, 15 do         
            vehicles [ getElementByID ( "autos".. index ) ] = true 
        end 
    end 
) 
  
addEventHandler ( "onVehicleStartEnter", root, 
    function ( thePlayer, seat ) 
        if ( seat ~= 0 ) then 
            return 
        end 
        if ( vehicles [ source ] ) then 
            if ( getPlayerTeam ( thePlayer ) and getTeamName ( getPlayerTeam ( thePlayer ) ) ~= "SAS" ) then 
                outputChatBox ( "Este vehiculo esta restringido a los miembros de SAS", thePlayer, 255, 0, 0 )   
                cancelEvent ( ) 
            end 
        end 
    end 
) 

Edited by Guest

Visita Full GameZ DayZ Mod

Server IP: mtasa://158.69.125.144:29015

Posted

Cuango lo pongo haci no anda y cuando lo pongo en archivos distintos pero en la misma carpeta tampoco

Visita Full GameZ DayZ Mod

Server IP: mtasa://158.69.125.144:29015

  • Recently Browsing   0 members

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