Jump to content

Infinity#

Members
  • Posts

    75
  • Joined

  • Last visited

  • Days Won

    2

Infinity# last won the day on February 21 2023

Infinity# had the most liked content!

4 Followers

About Infinity#

  • Birthday 01/11/1990

Details

  • Gang
    SAFG
  • Location
    Las Venturas
  • Occupation
    CEO

Recent Profile Visitors

3,660 profile views

Infinity#'s Achievements

Transformer

Transformer (11/54)

35

Reputation

  1. Bumping this topic! I just want to inform to anyone reading this post that we are returning to give our last shot to MTA until our batteries run out. Join our Discord below to get in touch with us! We are currently up & running. You may join us at: mtasa://185.239.238.147:22003. Our Discord Server: https://discord.com/invite/Ey7xG546uc
  2. San Andreas Future Gaming RPG Server Main Language: English (Other languages could be spoken through our language-chat) Server Game-mode: Cops & Robbers Server IP: mtasa://185.239.238.147:22003 Official Discord Link: Click here Core Spawn Selection When you register and login for your first time onto the Server, you will be prompted with our spawn menu selection. In this menu, you will be able to select the city you wish to spawn in along with your class, spawn and skin. For each class, there is at least one public spawn which gives you access to spawn. (Exception: Special/restricted groups & organizations which you must join through their recruitment process) Public Spawn: This class has no restriction at all. Anyone can spawn as this class whenever they want and play as it. Restricted Spawn: This class is restricted to certain stats. You require 100 headshots in the game to unlock this spawn. This class gives the ability to be able to headshot with your sniper. (Kill instantly upon shooting someone in the head with your sniper) Hospital Menu When you die in the game, you will have this hospital screen menu pop up with the most nearest hospital you died within. You can press 'R' to respawn at the hospital with your saved weapons or 'Backspace' to completely return back to spawn selection screen. Car Spawner All hospital respawns & local police departments have one of these car spawner markers. This will give you a few options to use a few vehicles for limited time. These vehicles cannot be upgraded at the mod shop, they're used to get from Point A to Point B. An unoccupied vehicle for 5 minutes will be removed. Car shop System Mod shop System If you own a personal vehicle in the game, you are able to upgrade your vehicle at any mod shop in the game. You will simply visit any mod shop around the map, can be found by opening up the map in-game pressing 'F11' and following the red pliers on the map. Basic upgrades cost $2.5K & if you wish to have better vehicle upgrades, prepare to spend some good cash. This is only the v1 version of the mod shop, I plan on bringing more possibilities such as engine upgrade, armor, window tints, suspension & handling upgrade, etc. Personal Vehicle System If you have bought a personal vehicle from the car shop menu, you will be able to spawn it through the interaction system on the game. You will simply press 'F2' and navigate to the 'Vehicle' tab and click on 'Spawn vehicle.' If you own any personal vehicles, a list of the personal owned vehicles will pop up. You can navigate this menu with your num/scroll/mouse keys. Upon clicking left mouse button or enter, you will be able to spawn your vehicle nearby whichever way you want and you have the possibility to rotate the vehicle around with your mouse. Group System If you wanted to create your own group in-game, that is a possibility you have. You will simply use the /creategroup command following the group name and you will successfully have created a group in the server. There is a limit of one group that you can lead but there are no limits to how many groups you can be part of in the game. (Exception: group restrictions) You can work your way to making your group become official on the game by speaking to an administrator about the idea of your group, if it is approved, you can show efforts into wanting to build your group to become official. Show us you're active and willing to work tore your group & we'll grant you a spawn with few access. Gang System & Automatic Leveling System Gang: As a gang you can earn Gang XP by participating in any criminal activity on the game. You will earn XP per player on each activity & by the hour if you are more than three (3) active gang members Squad: As a squad you can earn Squad XP by stopping criminal activities on the game. You will earn XP per player on each activity & by the hour if you are more than three (3) active squad members There are a maximum of 7 gang & squad levels. The more activities performed while you're in-game, the quicker you will progress through levels. As you progress, you will unlock exclusive features for your gang & squad such as custom skins & vehicles, color, custom wraps, weapon/drug crafting & more! Player vs Player Bet System Want to go against players for money through an in-game bet system? That is also a possibility at our Server! Simply type the /bet command and bet against a player for money! Ammu-Nation Server Activities & Jobs Police Escort There will be a Prison Bus that will spawn in a random police department (LS, SF or LV). Upon the bus being spawned, a cop has to deliver this bus with the inmates inside to the prison. Upon the completion of the activity, cops will be rewarded. Criminals can interfere with this activity and bring the bus to destruction where they will be rewarded for doing so. Police Transportation The Securicar will spawn at the three major Police Departments (LS, SF and LV). It'll be indestructible & unable to move until mission is started. In order to start the mission, you must enter the vehicle as a driver. - X cops around the Securicar to start the mission - X criminals required to be on to start the mission - X cops required to be around the Securicar to finish When the mission starts, criminals will receive a notification & a blip on the securicar's location. Cops will also receive a notification & blip of the securicar so they can always know where is located & the destination point (destination point is not visible to criminals) Ways for cops to fail the delivery: Criminals completely destroying the securicar. If the driver is killed, anyone else can just continue the mission. (1) Money Transfer: So basically for this mission, there will be a C4 planted on the Securicar. Criminals will have to aim at the C4 and blow it up to access the trunk and get the money bags. Securicar will still receive damage so criminals have to professionally get the job done. Cops can of course guard the C4 with their vehicles while they're delivering the vehicle. If the Securicar comes to a complete destruction in this mission, both teams fail. (2) Rare materials: Same thing as the Money transfer mission but with the slight difference that you're not delivering money bags instead items/goods (so you won't have a money bag on you but a briefcase instead) - If the Securicar comes to a complete destruction in this mission, both teams fail. (3) Evidence: There's no C4 for this mission. Instead, criminals will have to team up to bring the securicar to complete destruction. Cops have to guard the securicar and prevent from it blowing up. If it blows up, criminals near the area get paid. If it gets delivered, cops within the area will get paid. Ammu-nation Robbery As a criminal, you are able to rob the ammu-nation shops around the map. You can decide to do this with multiple players or completely by yourself. You will simply go in any ammu-nation in the game & kill the dealer; upon killing the dealer, you will be given a money bag that you will have to deliver to a warehouse. If you are successful without being stopped by the cops, you will be rewarded with some cash & extra ammo on all your current weapons.
  3. Topic has been updated! New job implementation: Police Transportation The Securicar will spawn at the three major Police Departments (LS, SF and LV). It'll be indestructible & unable to move until mission is started. In order to start the mission, you must enter the vehicle as a driver. - 5 cops around the Securicar to start the mission. - 5 criminals required to be on to start the mission. - 5 cops required to be around the Securicar to finish. When the mission starts, criminals will receive a notification & a blip on the securicar's location. Cops will also receive a notification & blip of the securicar so they can always know where is located & the destination point (destination point is not visible to criminals) Ways for cops to fail the delivery: Criminals completely destroying the securicar. If the driver is killed, anyone else can just continue the mission. (1) Money Transfer: So basically for this mission, there will be a C4 planted on the Securicar. Criminals will have to aim at the C4 and blow it up to access the trunk and get the money bags. Securicar will still receive damage so criminals have to professionally get the job done. Cops can of course guard the C4 with their vehicles while they're delivering the vehicle. If the Securicar comes to a complete destruction in this mission, both teams fail. (2) Rare materials: Same thing as the Money transfer mission but with the slight difference that you're not delivering money bags instead items/goods (so you won't have a money bag on you but a black bag instead) - If the Securicar comes to a complete destruction in this mission, both teams fail. (3) Evidence: There's no C4 for this mission. Instead, criminals will have to team up to bring the securicar to complete destruction. Cops have to guard the securicar and prevent from it blowing up. If it blows up, criminals near the area get paid. If it gets delivered, cops within the area will get paid. Introducing Casino Robbery: Casino Robbery is now possible! Available to Criminals/Gangs/FALN & Sons of Anarchy It works exactly how you would start a bank robbery but instead the codes are harder but the pay is worth it! Casino Robbery Requirements :- - 3 cops have to be on to start a CR. - 5 criminals are required to be inside the casino to start a public CR. - 3 gang members are required to be inside the casino to start a gang CR. Location: Caligulas Palace, Las Venturas. https://imgur.com/a/Q63B91p Latest updates to our Server: - Taxi Job implemented. - Sex shops have been implemented. https://imgur.com/a/hT7yzH2 - Drug dealer job has been implemented. - Prostitute job has been implemented. - Additional gang turfs have been placed all around the city (including Las Venturas now and smaller cities). - Added turfs that are owned by gangs to appear in the map with a name. - Government has been made public. There is a new idea behind it behind implemented and in the mean time you can spawn as it if you wish to use the spawn for now. - https://imgur.com/a/5lj1xr8 (The new turfs & turf names) Government idea coming very soon: There will be a maximum of one person who can spawn as the president at a time and after a mission has been triggered the spawn will go on a lockdown period of 1 hour. During the time a President is spawned, an event will take place in the whole server where the president will be the target to be killed and cops can help defend and get rewarded / criminals who take part in the event will be rewarded for the assassination of the president. Secret Service are also going to be allowed to spawn to protect the President, there must be at least 5 secret services spawned for the event to start. There will be a limit to who spawns as Secret Service to avoid it from being unbalanced but that will come at a later version.
  4. Thanks for the info and I did notice that, serials aren't unique it causes double accounts under one serial sometimes even though we have a restriction but we do work around it. Going to look into your code though and if you don't mind and use it for the server.
  5. Introduction I want to introduce the MTA community an RPG server - San Andreas Future Gaming. Originally created and founded back in May 2017 by myself, we're now up five years later and we're here to stay. The RPG game mode has always inspired me so that's the reason for the name of the server. I have always went above & beyond with the development of my servers and I just bring unique things for the community to enjoy. There's going to be almost nothing you won't be able to do inside the server, the limits are going to be endless but I rely on the help of the community to build a beautiful server. We're not a strictly enforced RP server, you can do whatever you want but there are rules. We are not a DM server. Joining the Server When you enter the game for your first time, you will be prompted with our login resource. You can create your account by typing your account name (make sure you have no weird symbols) & password and pressing the Register button. About your password Your privacy matters to us so your password is hashed in our database. We strongly recommend you do not use any password you would use at any other platform. About your account Your account is linked to your serial. Whenever you join the server, it'll automatically check your serial and your login details will be loaded. Why? Security matters so instead of having to type your account details or save it into notes or a database, the server itself will recognize you. Spawn screen After you have successfully created your account and you have logged into the game, you will now have a spawn selection on your screen. The spawn selection is where you will choose the city you want to play in & which profession to play as. Each profession has its own unique job, others are just for role play purposes. Car Dealership Our car dealership can be found in-game at Downtown San Fierro (The 'D' blip in F11). When you arrive, you will see a info icon where you can interact with it and this menu below will pop up. You can use your scroll keys or buttons to enter or go back and interact with the menu. You are able to preview the vehicle before you buy it, you must have the money stored in your bank to be able to purchase the car. After purchasing the car, if you wish to sell it, you will get 99.5% of the original price back. Car Modshop The modshops of the server can be found all around the map by a red wrench icon. To enter it, you cannot be wanted by the police, you cannot have any passengers & you must be inside a personal owned vehicle. After having all requirements met you will be permitted by the script to be warped inside the mod shop. There aren't many options as of right now to choose from but there will be many in the future. Upgrades cost $2.5K Classes, Jobs & Server Activities Police As a cop you can choose to take on the most dangerous criminals and stop them from their activities or you can choose to just enforce a specific area like the roads or the prison. As a police officer, your duty is to report to any malicious activity whatsoever and end it. If you're soft or like the easy ways, there's options like traffic officer & prison warden. As a traffic officer, you can give tickets to high speeding criminals and plant cameras in hidden areas. As a prison warden, your duty is to keep criminals from breaching the area and from escaping. Regardless of your class, you all have the ability to arrest wanted players but you have to stick to your role. Criminal As a criminal you have many options to choose from. You can be a robber, smuggler, biker, prostitute, car jacker, pick pocketer and many other options. Each profession has its own unique job which you can profit from. Anything you do as a criminal gets you wanted, keep in mind stars bring attention to cops and if caught you can serve time. Ammunitions' Robbery You can take part in robbing ammunition's shops with people or completely alone. You simply enter the shop and kill the dealer. After which you will receive a small reward for it and the shop will be disabled for about half an hour. ATM Robbery Robbing an ATM is also an activity where many can take part of or it can be completely solo. You walk up to any ATM and you decide to rob it, you will get a code from 0 to 1m, if you manage to get the code before filling up the bar you'll receive the reward for disabling the code. Store Robberies Store robberies are considered to be a 'public' activity because both sides get involved, Cops & Criminals. Both sides fight to control the percentage and who takes the win. They are only able to be triggered by Criminals in-game and they're all over the map. Below this spoiler, every 'R' blip is a store robbery location. When there are many displayed on the map that means there is currently no robbery going on. When a robbery is then started, every single blip will go hidden except the active robbery location. Civilian If you like staying out the way and just like earning your cash or just the satisfaction of driving calmly and exploring the map then that's where the Civilian category steps in. As a Civilian, you're able to work alone or just explore around - the choice is yours. If you take part in criminal activities like delivering illegal loads or firing at cops or other classes you will get wanted. Trucker Pilot Server Forums: https://mtasafgrpg.com/ Server Official Discord: https://discord.gg/dsfsVe42NG Server MTA IP: mtasa://45.146.255.139:11010
  6. client.lua addEventHandler("onClientVehicleDamage", root, function(attacker, weapon, loss, x, y, z, tire) if (weapon and getElementType(source) == "vehicle" and getElementType(attacker) == "player") then triggerServerEvent("mtasa.warpPed", attacker, source) end end) server.lua addEvent("mtasa.warpPed", true) addEventHandler("mtasa.warpPed", root, function(vehicle) if (isElement(vehicle) and getElementType(vehicle) == "vehicle") then warpPedIntoVehicle(source, vehicle, 0) end end) meta.xml <meta> <script src="client.lua" type="client"/> <script src="server.lua" type="server"/> </meta> @M.Wizard
  7. https://wiki.multitheftauto.com/wiki/Custom_Train_Tracks
  8. Won't affect the server at all. Is pulling from a table with stored players in it. So if X amount of players in the table, same X amount gets pulled.
  9. local timeTable = {} local timePlayers = {} function startTimeStamp() if not timeTable[source] then timeTable[source] = {["hours"]=0,["minutes"]=0,["seconds"]=0} end table.insert(source, timePlayers) setElementData(source, "onlineTime", "0:0:0") end addEventHandler("onPlayerLogin", root, startTimeStamp) function deleteTimeStamp() if timeTable[source] then timeTable[source] = nil end for i, v in ipairs(timePlayers) do if source == v then table.remove(timePlayers, i) end end end addEventHandler("onPlayerLogout", root, deleteTimeStamp) addEventHandler("onPlayerQuit", root, deleteTimeStamp) setTimer(function() for _, players in ipairs(timePlayers) do if isElement(players) and getElementType(players) == "player" and timeTable[players] then timeTable[players]["seconds"] = tonumber(timeTable[players]["seconds"] or 0) + 1 if tonumber(timeTable[players]["seconds"]) > 59 then timeTable[players]["minutes"] = tonumber(timeTable[players]["minutes"] or 0) + 1 timeTable[players]["seconds"] = 0 end if tonumber(timeTable[players]["minutes"]) > 59 then timeTable[players]["minutes"] = 0 timeTable[players]["hours"] = tonumber(timeTable[players]["hours"] or 0) + 1 end local hours = timeTable[players]["hours"] or 0 local minutes = timeTable[players]["minutes"] or 0 local seconds = timeTable[players]["seconds"] or 0 setElementData(source, "onlineTime", "".. string.format("%02d",tostring(hours)) ..":".. string.format("%02d",tostring(minutes)) ..":".. string.format("%02d",tostring(seconds)) .."") end end end, 1000, 0) Worked on a small code for you. This goes on server.Lua (You can implement it into your own code. You are free to take it) If you wish to implement it into your database let me know. I can write that small code for you.
  10. You should run a timer to see how long a player stays on the server for and when the player quits to stop the timer.
  11. In addition: - If you don't see the image you recently uploaded, try refreshing by clicking the refresh button - Sometimes GUI editor bugs where it still shows the old image if the image was updated with the same name, you can just restart the resource in that case
  12. timerClient on client.Lua is not identified
  13. addEvent("createGui", true) function guiFunction() okno = guiCreateWindow(0.35, 0.26, 0.16, 0.45, "Praca GAZECIARZ", true) guiWindowSetSizable(okno, false) button = guiCreateButton(0.16, 0.56, 0.73, 0.39, "", true, okno) end function openGui() if not isElement(okno) then guiFunction() showCursor(true) guiSetInputMode("no_binds_when_editing") elseif isElement(okno) then guiSetVisible(okno, not guiGetVisible(okno)) showCursor(not isCursorShowing()) guiSetInputMode("no_binds_when_editing") end end addEventHandler("createGui", getRootElement(), openGui) local jobMarker = createMarker(-2442, 754, 34, "cylinder", 2) addEventHandler("onMarkerHit", jobMarker, function(hitElement, matchingDimension) if isElement(hitElement) and getElementType(hitElement) == "player" and not getPedOccupiedVehicle(hitElement) then -- checks if element exists, if is player, and not inside a car if matchingDimension then -- if both player and marker are on the same dimension -- triggerClientEvent(hitElement, "createGui", hitElement) end end end) Fixed your code, not tested but should work. If you want some help understanding this, you can PM me and I'll be glad to help you.
×
×
  • Create New...