Jump to content

Plate

Members
  • Posts

    938
  • Joined

  • Last visited

Everything posted by Plate

  1. Plate

    Problemas

    emm no funciona u.u pero gracias por tu ayuda si sabes otro metodo porfavor dimelo
  2. Plate

    Problemas

    function teams() SAS = createTeam("SAS",0,255,255) Umbrella = createTeam("Umbrella",0,255,255) end addEventHandler("onResourceStart", resourceRoot, teams) function addthem (player) if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(player)) , aclGetGroup ( "SAS" ) ) then setPlayerTeam ( player, SAS ) elseif isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(player)) , aclGetGroup ( "Umbrella" ) ) then setPlayerTeam ( player, Umbrella ) end end function addtoteamtimer() setTimer(addthem,1000,1,source) end addEventHandler ( "onPlayerLogin", root, addtoteamtimer ) addEventHandler ( "onPlayerSpawn", root, addtoteamtimer ) tengo un problema con ese script que me paso Yakuza 1): cuando los agrego al acl les digo que reconnecten para que aparescan en el team y no aparecen hasta que los agrego con el panel admin 2): a los que saco del acl aparecen en el team
  3. Plate

    unas cosas

    hize lo que dijistes de empesarlo con el panel y no sirvio vere con el mtaconfig porfavor puedes entrar a mi server y verlo
  4. Plate

    unas cosas

    para comprobar si era mi mta lo elimine lo reinstale y sigue sin funcionar
  5. jeje no puede entrar nadie ni los del team
  6. Plate

    unas cosas

    boquear por level y por team que todabia el script que me pasaron no sirve xP
  7. Plate

    unas cosas

    lo del outputChatBox ya lo havia arreglado solamente me queda 2 cosas importantes lo de bloquear las armas solid porfavor ayudame con eso
  8. Plate

    unas cosas

    hola tengo unas dudas 1): como ponerle color a un outputChatBox 2): para bloquear las armas por level solid me dijo que ponga esto el resoruce local Test4 = exports [ "exp_system" ]:getPlayerLevel ( thePlayer ) pero no funciona dice badargument to getPlayerLevel y en el archivo meta.xml dice que los argumentos de la funcion son thePlayer
  9. puse en la carpeta del mapa un archivo lock.lua y hay puse el code addEventHandler ( "onResourceStart", resourceRoot, function ( ) vehicles = { } for index = 1, 15 do vehicles [ getElementByID ( "autos"..tostring( 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 ) "editor_main"> "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">
  10. sigue sin andar nose por que no anda u.u
  11. Me lo podes pasar haci como lo tenes por que ami no me anda porfa
  12. Cuango lo pongo haci no anda y cuando lo pongo en archivos distintos pero en la misma carpeta tampoco
  13. mira bien alex el map es lo primero
  14. 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 )
  15. 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 )
  16. 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
  17. me ayudarias con otra cosa?
  18. Si perdon desaparecio la primera ves que lo inicie salio ya esta gracias amigo!
  19. Muchas Gracias Solid sos un Groso! gracias por esforsarte / tomarte el tiempo para arreglar eso
  20. si se logean y cuando salen y vuelven se logean y aparecen en level 0
  21. 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
  22. Como se podria hacer que cuando el player se saque vida se le vaya recuperando de apoco
×
×
  • Create New...