Jump to content

RekZ

Members
  • Content Count

    296
  • Joined

  • Last visited

Community Reputation

11 Decent

2 Followers

About RekZ

  • Rank
    Pee-Wee
  • Birthday 28/04/1995

Details

  • Gang
    Street Fighter Racer
  • Location
    Spain
  • Occupation
    Student
  • Interests
    Cosas Nazis :3

Recent Profile Visitors

1,810 profile views
  1. Original : https://community.multitheftauto.com/index.php?p=resources&s=details&id=18317 Stolen : https://community.multitheftauto.com/?p=resources&s=details&id=18439
  2. 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,loc
  3. 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
  4. 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
  5. Tendrias que comenzar por abrir los puertos de redireccion de tu router hacia el PC en el cual se encuentra el servidor local.
  6. 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
  7. 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)
  8. I think i dont known what you want jajaja, This is what you want ? (see the video xd) Video
  9. I test it whit my users and work fine like you want, send the code where you are working
  10. 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
  11. 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
  12. 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 destroyEl
  13. Soo you want to create the car and if there is someone inside the car stop the command ?
  14. 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 add
  15. All the chat system is Server side for what i known, why you dont get the chat in the server side ? Sending the client's information to the server is an inefficient in this case i think.
×
×
  • Create New...