Jump to content

RekZ

Members
  • Posts

    307
  • Joined

  • Last visited

Everything posted by RekZ

  1. oh thats bad, thanks i will wait for that update
  2. I See that program but i dont think i cant recommend the players to download a program and execute it. I know that many players hardly know what the internet means, so I was looking for a native way to do it on the server, I don't want to force players to do things they don't understand.
  3. No has explicado practicamente nada pero supongo que tu error se debe a que no puedes entrar en la casa xd La V tienes que cambiarla por el ACL que quieres que tenga acceso a la casa. -- Sustituir isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(playerSource)),aclGetGroup(v)) -- Por lo de abajo isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(playerSource)),aclGetGroup("Admin"))
  4. So the title xd There some way to do the Discord Rich Presence for a Server ? i known i can use Windows Notifitacions to send notifitacions so why not Discord for share what you play.
  5. No exactamente, esa variable viene de algun lugar, otra funcion le esta dando valor a la variable que deberia ser el nombre del ACL el cual quieres modificar o estas modificando, y seguramente no sea el valor que debe tener xd es mas dificil de explicar que de arreglar seguramente, pero cambiando eso que dijiste no lo vas a reparar. Supongo que ese resources seleccionas un ACL en una lista y agregar o quitas personas, pienso que no estas recibiendo el nombre del ACL de la lista.
  6. de donde viene la variable 'group.aclGroup' esa es la que te esta dando el error PD: Puedes usar el boton de "Code" y Seleccionar LUA para poner el codigo con formato xd asi es mas facil de visualizar Ejemplo if not hasGroup then -- make sure acl rights are removed if aclGroupRemoveObject( aclGetGroup( group.aclGroup ), "user." .. accountName ) then outputDebugString( "Removed account " .. accountName .. " from ACL " .. group.aclGroup, 3 ) saveAcl = true userChanged = true if player then outputChatBox( "No estás conectado como " .. group.displayName .. ".", player, 255, 0, 0 ) end
  7. Basicamente te esta diciendo que la funcion "aclGroupRemoveObject" tiene un error en el argumento 1 que deberia de tener informacion sobre el ACL y esta recibiendo supongo que un "false" o algun valor que no encaja, es dificil solucionarlo sin saber que es lo que tiene el codigo xd
  8. RekZ

    NetLimiter Block

    yeah yeah i now how powerfull is the netlimiter, but i have the same question, why i need to uinstall the program to play ? is good idea block the program when is started but why block it when is close. I know my complaint or suggestion will never be understood but better to say something than keep quiet xd
  9. RekZ

    NetLimiter Block

    I just wanted to know why I need to uninstall the NetLimiter to be able to play on the servers where it is blocked, It is not a program that i have in autostart by the system and I know that I haven't open, I understand that you do not want to let the players who have it activated play, but just for having it installed seems very unfair to me. I know that the program has background services that start with the system and that is why it detects it, it is very annoying to have to remove the service and restart the computer to play and have to reactivate and restart to use the program.
  10. Lo puedes hacer con setTimer para crear la contrareloj, pero a lo que concierne a la parte de cancelar la mision eso ya dependeria de tu resource.
  11. No soy fan de ponerme a leer toda esa pila de texto que comentaste porque no empiezas por decir que problema tienes, digo yo vamos
  12. Original : https://community.multitheftauto.com/index.php?p=resources&s=details&id=18317 Stolen : https://community.multitheftauto.com/?p=resources&s=details&id=18439
  13. RekZ

    Timer

    I think you create a spiral. elseif itemData["id"] == 34 then local emveiculo = getPedOccupiedVehicle ( localPlayer ) local outskin = tonumber(getElementData(localPlayer, "skinout")) if not emveiculo then if getElementData(localPlayer, "Male") == true then if getElementData(localPlayer, "WearingSkin") == false then setTimer ( function(localPlayer) skinatual = getElementModel(localPlayer) setElementData(localPlayer, "skinout", skinatual) setElementData(localPlayer, "WearingSkin", true) triggerServerEvent("itemAnims",localPlayer,localPlayer,34) end, 10000, 1 ) else setTimer ( function(localPlayer) triggerServerEvent("itemAnims",localPlayer,localPlayer,400) end, 10000, 1 ) end else exports.YM_DxMessages:addBox("Male Stuff!", "error") end else exports.YM_DxMessages:addBox("U cant do that!", "error") end
  14. I think the min_version is wrong and if you attach the items in another resource using "exports", when you restart the resource where you create the objects the attachtobones resource give errors, for what I tested it works fine with multiple players. Not starting resource attachtobones as <min_mta_version> section in the meta.xml contains invalid version strings
  15. Depende de que forma tengas el VIP si por ElementData o por ACL o por Tablas y de que forma quieras generar el jetpack con un comando, con el panel de freeroam
  16. Tendrias que comenzar por abrir los puertos de redireccion de tu router hacia el PC en el cual se encuentra el servidor local.
  17. Spawn a hoverboard! Command : /hoverboard left shift for jump Add: Custom Animation. Custom Model. Hover Jump. Remove when leave the vehicle. Replace the Faggio. (Model and Animation arent mine) Link Community Resource Download YouTube Video
  18. i cant help you if you dont help me to do it.. i do what you said maybe you dont restart the resource or dont put the script in the correct place i cant install the resource for you, sorry. --- A part of the post was hidden, please don't go to the extremes (Tut)
  19. I think i dont known what you want jajaja, This is what you want ? (see the video xd) Video
  20. I test it whit my users and work fine like you want, send the code where you are working
  21. Because is a table you cant use local in the table, remove it xd in my last code is fine, i test the code now in my server and work good local table = {} -- BAD table = {} -- good :v
  22. Ups i see my error now creados = {} function getVehicleInUse(veh) local user = 0 for seat, player in pairs(getVehicleOccupants(veh)) do user = user + 1 end return (user or 0) end function createVehicleForPlayer(thePlayer, command, model) if tonumber(model) then if not isPedInVehicle (thePlayer) then if creados[thePlayer] == nil then local x, y, z = getElementPosition(thePlayer) creados[thePlayer] = nil creados[thePlayer] = createVehicle( model, x+5, y, z) warpPedIntoVehicle(thePlayer, creados[thePlayer]) else if getVehicleInUse(creados[thePlayer]) == 0 then destroyElement(creados[thePlayer]) local x, y, z = getElementPosition(thePlayer) creados[thePlayer] = nil creados[thePlayer] = createVehicle( model, x+5, y, z) warpPedIntoVehicle(thePlayer, creados[thePlayer]) end end end end end addCommandHandler("vh", createVehicleForPlayer) function onPlayerQuitPlayer () if isElement(creados[source]) then destroyElement(creados[source]) creados[source] = nil end end addEventHandler ( "onPlayerQuit", getRootElement(), onPlayerQuitPlayer )
  23. I'm not sure if this can help you i dont test it function getVehicleInUse(veh) local user = 0 for seat, player in pairs(getVehicleOccupants(veh)) do user = user + 1 end return (user or 0) end function createVehicleForPlayer(thePlayer, command, model) if not isPedInVehicle (thePlayer) then if creados[thePlayer] == nil then local x, y, z = getElementPosition(thePlayer) creados[thePlayer] = nil creados[thePlayer] = createVehicle( model, x+5, y, z) warpPedIntoVehicle(thePlayer, creados[thePlayer]) else if getVehicleInUse(creados[thePlayer]) > 0 then destroyElement(creados[thePlayer]) local x, y, z = getElementPosition(thePlayer) creados[thePlayer] = nil creados[thePlayer] = createVehicle( model, x+5, y, z) warpPedIntoVehicle(thePlayer, creados[thePlayer]) end end end end addCommandHandler("vh", createVehicleForPlayer) function onPlayerQuitPlayer () if isElement(creados[source]) then destroyElement(creados[source]) creados[source] = nil end end addEventHandler ( "onPlayerQuit", getRootElement(), onPlayerQuitPlayer )
  24. Soo you want to create the car and if there is someone inside the car stop the command ?
  25. Maybe this can help you function createVehicleForPlayer(thePlayer, command, model) if not isPedInVehicle (thePlayer) then if creados[thePlayer] == nil then local x, y, z = getElementPosition(thePlayer) creados[thePlayer] = nil creados[thePlayer] = createVehicle( model, x+5, y, z) warpPedIntoVehicle(thePlayer, creados[thePlayer]) else destroyElement(creados[thePlayer]) local x, y, z = getElementPosition(thePlayer) creados[thePlayer] = nil creados[thePlayer] = createVehicle( model, x+5, y, z) warpPedIntoVehicle(thePlayer, creados[thePlayer]) end end end addCommandHandler("vh", createVehicleForPlayer) function onPlayerQuitPlayer () if isElement(creados[source]) then destroyElement(creados[source]) creados[source] = nil end end addEventHandler ( "onPlayerQuit", getRootElement(), onPlayerQuitPlayer )
×
×
  • Create New...