Jump to content

RekZ

Members
  • Posts

    346
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by RekZ

  1. RekZ

    Weapon Zoom

    Sorry @Spakye I didn't explain myself well, i want to edit the zoom of weapon like the M4 or MP5, the handgun and the MP5 have a small zoom comparate to the M4 or the AK.
  2. RekZ

    Weapon Zoom

    Hello, i'm looking for some way to fast the weapon zoom when i'm aiming. Maybe i can edit the flags using ? setWeaponProperty
  3. Uuuh that really hurt me i think i will stop my project and wait for that function, i really dont want to change 70 or more IDs Thanks for your time.
  4. Thanks for your respond, for what i can see, the models that give me the problem have this code 2097348 (i will let the info here i dont want to forget it ) MTA have some way to edit the flags for a object ? 2097152 - DISABLE_BACKFACE_CULLING 128 - DONT_RECEIVE_SHADOWS 64 - NO_ZBUFFER_WRITE 4 - DRAW_LAST
  5. I am trying to replace the models of the light wires (Photo ID 13451) that are found on the map to give them a utility and in some of those models I find the problem that the texture is inverted i try to use setElementDoubleSided, engineSetModelVisibleTime, setObjectProperty and others function but nothing work, i really dont known what special property or configuration have these model to invert the texture >:C
  6. RekZ

    CD47 Ban

    Thats why is better to have a logitech or msi mouse and use a official macro software to do tricks
  7. Pues puede ser por varios motivos, si no tiene orden ninguno de ejecucion si iniciaste el hud antes que el login el hud siempre tendra prioridad sobre el login, el login puede estar configurado para que aparezca detras de todas las otras cosas (La variable postgui creo que era). Lo que yo te recomendaria (que es lo que suelo hacer yo) si no lo necesitas solo cargues el HUD cuando el usuario este logueado o spawnee asi te evitas problemas como ese
  8. Ese error del que hablas no se encuentra en la zona de comprar xd mas bien parece un error de cuando ejecutas la animacion al usar el objeto, puede que ala hora de usar la maria o la bebida o cualquiera de esas cosas no estes restando el que estas usando.
  9. Ese evento que estas usando es para cuando el resource se enciende, tienes que usar un evento que se ejecute cuando el NPC reciba daño te dejo un ejemplo abajo function trollgolpeado (loss) local health = getElementHealth (source) if (getElementModel(source) == 153 ) and ( health <= 60 ) then setElementModel(source, 213) end end addEventHandler ( "onPedDamage", getRootElement(), trollgolpeado )
  10. I think i bug the post because says the last reply is "ThanaReal" but inside the post the last reply is mine , and it says there are only 8 replies but in the post i count 9 replies jajaja Always i enter again in the post tell me "Unread Replies" in my Reply
  11. function onClientProjectileCreation() local projectileType = getProjectileType( source ) if projectileType == 20 then -- 20 = Guiding Rocket -- SCRIPT end end addEventHandler( "onClientProjectileCreation", getRootElement( ),onClientProjectileCreation) You can select what proyectile you want to edit https://wiki.multitheftauto.com/wiki/GetProjectileType
  12. Maybe you can test using this functions if you tell me more of what you want to do maybe i can help you xd https://wiki.multitheftauto.com/wiki/OnClientProjectileCreation https://wiki.multitheftauto.com/wiki/GetProjectileTarget
  13. oh thats bad, thanks i will wait for that update ?
  14. 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.
  15. 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"))
  16. 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.
  17. 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.
  18. 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
  19. 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
  20. 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
  21. 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.
  22. 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.
  23. 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
  24. Original : https://community.multitheftauto.com/index.php?p=resources&s=details&id=18317 Stolen : https://community.multitheftauto.com/?p=resources&s=details&id=18439
  25. 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
×
×
  • Create New...