Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/08/22 in all areas

  1. VEHICLE_SETTINGS = false addCommandHandler("steer", function() if VEHICLE_SETTINGS == false then openVehicleSettings() VEHICLE_SETTINGS = true else closeVehicleSettings() VEHICLE_SETTINGS = false end end) bindKey( "x", "down", "steer" ) or VEHICLE_SETTINGS = false bindKey( "x", "down", function() if VEHICLE_SETTINGS == false then openVehicleSettings() VEHICLE_SETTINGS = true else closeVehicleSettings() VEHICLE_SETTINGS = false end end)
    1 point
  2. Hello everyone! Been working through polishing a lot of our systems and getting ready for release, which is very close now. Soon we'll post a release date. Below two screenshots of our now toggleable dynamic light and dark nights. This resource can be heavy for lower end systems and we don't want to leave anyone out.
    1 point
  3. hola amigo @P4rano1a, publiqué un enlace para setTimer, puede consultar este sitio para comprender su problema. function getPiezasContrabandistas (player) if isTimer(timer) then outputChatBox("Ya lo has usado una vez.", player, 255, 0, 0) return end if not exports.factions:isPlayerInFaction(player, 9) then outputChatBox("No eres Contrabandista.", player, 255, 0, 0) return end if getElementDimension(player) ~= 97 then outputChatBox("No estás en el desarme.", player, 255, 0, 0) return end exports.items:give(player, 34, 20) timer = setTimer(function() killTimer(timer) end, 300000, 1) exports.chat:me(player, "toma una caja con piezas.") outputChatBox("recibiste 20 piezas", player, 0, 255, 0) end addCommandHandler("piezas", getPiezasContrabandistas)
    1 point
  4. موجود ولا معتزل المهم الرابط خربان + أحتاج المودات
    1 point
  5. addEventHandler("onVehicleExplode", root, function() destroyElement(source) end) server side
    1 point
  6. Hello everyone, we have succefully gone through our first Beta phase. I want to thanks everyone who participated in the beta for their feedback and suggestions! Now we are again in closed development, adding new features and patching up existing systems according to feedback received and to improve Quality of Life. The mapping team is working hard to bring immersion to the game world and there is still a lot to be done. Therefore we are now looking for mappers to strengthen our team. What we ask: - Show a sample of your previous mapping work - Be able to communicate in English - Have some knowledge about mapping in MTA What we offer: - Enjoy donation package benefits once we launch, for free, as part of our staff team - Be at an advantage for an admin position (when we need any), if you're interested - Have people in the game server enjoy your work If you are interested in helping us, please head over to our Discord server and write a DM to @SCANDALOUZ#8169
    1 point
  7. If it's only about saving player's position, I wouldn't recommend MySQL nor SQLite, you can do with account data, much easier & better
    1 point
  8. onPlayerQuit -> get the position, save it per account and load it when the player logs in. addEventHandler('onPlayerQuit', root, function() local x,y,z = getElementPosition(source) local pos = table.concat({x, y, z}, ',') --insert it end) Then to load it again: local x, y, z = unpack(split(pos, ','))
    1 point
×
×
  • Create New...