xMKHx

Members
  • Content Count

    131
  • Joined

  • Last visited

Everything posted by xMKHx

  1. Seriously you're selling this simple script for $7 I'll make it for free if someone requested !
  2. xMKHx

    Train Barriers

    createObject createColRectangle onColShapeHit setTrainSpeed
  3. xMKHx

    [HELP]GridList

    You can take a look on DGS, Actually am using it in my server
  4. About the community: UDC is a project which has been developed since probably 3 year. It's a CnR/RPG/RP project, in this server we're trying to make things as much realistic as we can, we try to give the player the best RP experience in a RPG/CnR server. We can say this server is based on CIT (Community of Integrity and Transparency) but we got our unique ideas and code. Our goal is the make a completely enjoyable atmosphere for our players to enjoy and not get fed up. Nevertheless, we won't hide the truth that we got some scripts from MTA community (not more that 3 tho). Objectives: Reach a decent amount of players. Make realistic scripts and improve the gameplay. Make this community to the top. Create a funny and enjoyable atmosphere for the players. Features: Login panel: An advanced UI and simple interface to make it easier for the players. Vehicles System: An advanced and Realistic vehicles system that hasn't been used in any other servers before. Spawners System: An advanced vehicles system, it's not really realistic but does the job. Jobs/Employment System: An advanced employment system which contains "SOME" of the jobs as we're still developing the rest of the jobs, you can find jobs all around SA marked with blips in the map. Groups System: DGS UI that allows players to understand the system faster, it contains a lot of features for the leaders, and will be improved in further versions. Rules Panel (F1): DGS UI which contains all server rules, commands and jobs information. Banking System: Realistic banking system, which offers different payment methods (using UDC Card) which is a unique idea that hasn't been used before, the banking system is synchronised with players' accounts using a specific PIN Code that the player should enter. Turfing System: for a better CnR experience we offer you the best choice which is turfing, actually it might be only for criminals since police officers can't turf, but this feature is well designed and has a lot of perks. Fuel System: We tried to make this as much realistic as we could so we made a fuel system which synchronizes fuel refilling with vehicles type (i.e: a truck pays more than a bike to refill) Customs Shop (Credits: Al3grab): While searching the community to gain time, we found this epic modshop resource made by @Al3grab Housing System: Make your own real estate, or have your own house, this system isn't finished, but V1.0 is ready to be launched (in further versions you'll be able to buy apartments and add your own furniture). Fast Food: Heal yourself by buying some pizza hot. Drugs System: Improve your health and movements. Animations: Make some animations by pressing F7 Phone System: Transfer money, send PMs, Take a selfie, Clock, Weather, Note, GPS, Calculator and settings Other Features: Criminal Boss Police Chief JFM Bankrob Stores Rob Civilians Job (Taxi, Pizzaboy, Bus Driver, Fisherman, Rescue Man, Pilot, Ferry Captain..) Vehicles Repair System Stats Panel Settings System HD Radar Walking Style System VIP System Ammunation Teleport System Drugs Store Medkits Repair Kits Armed Robberies LAW/Gangsters Skills Safe Zones Score System Skin Shop Taser/Arrest System Quiz System Social Links: Forums Discord Official Trailer:
  5. Try this addEventHandler("onClientPlayerWasted", localPlayer, function() local name = getPlayerName(localPlayer) setTimer(function () triggerServerEvent("spawnWastedPlayer", resourceRoot, name) end, 60000, 1) end) addEvent("spawnWastedPlayer", true) addEventHandler("spawnWastedPlayer", resourceRoot, function (name) spawnPlayer(getPlayerFromName(name), 0, 0, 0) end)
  6. addEventHandler("onClientPlayerWasted", localPlayer, function() setTimer(function () triggerServerEvent("spawnWastedPlayer", resourceRoot) end, 60000, 1) end) addEvent("spawnWastedPlayer", true) addEventHandler("spawnWastedPlayer", resourceRoot, function () spawnPlayer(source, 0, 0, 0) end) Non tested
  7. untested fix = { {1606.1678466797, -1712.462890625, 13.593994140625 }, {1609.2961425781, -1712.462890625, 13.593994140625}, } for _, v in pairs(fix) do JailEscapeMarker = createMarker(v[1], v[2], v[3] + 1, "arrow", 1.5, 255, 255, 0, 150) setElementInterior(JailEscapeMarker, 0) setElementDimension(JailEscapeMarker, 0) end
  8. Did u fix it please or find a solution ?
  9. About the community: UDC is a project which has been developed since probably 1 year. It's a CnR/RPG/RP project, in this server we're trying to make things as much realistic as we can, we try to give the player the best RP experiance in a RPG/CnR server. We can say this server is based on CIT (Community of Integrity and Transparency) but we got our unique ideas and code. Our goal is the make a completely enjoyable atmosphere for our players to enjoy and not get fed up. Nevertheless, we won't hide the truth that we got some scripts from MTA community (not more that 3 tho). Objectives: Reach a decent amount of players. Make realistic scripts and improve the gameplay. Make this community to the top. Create a funny and enjoyable atmosphere for the players. Trailer: Our Forum Our Discord Our Server Features: Login/Register system Personel Vehicles Spawners System Jobs/Employments Groups System Rules/Terms Banking System Turfing System Fuel System Custom Shops (Credits: Al3grab) Housing System Ammunations Arrest System Taser System Taxi/Pilot/Trucker/Bus Drivers Police Chiefs Criminal Bosses Skin Shops Safe zones Hospitals/Respawn System Military/Terrorists Eventwarps Drugs System Animations Panel And More...
  10. It takes 18 mins to move from 99,999,999 to -99,999,999
  11. There is no best settings in mtaserver.conf You may need to change the slots by checking server performances for better quality of playing And add your resources to the startup resources and that's it
  12. removeWorldModel You may need to use MTA:SA Editor better And you can convert map into Lua with tables from here
  13. crash = {{{{{{{{ {}, {}, {} }}}}}}}} isSpeedEnabled = false function Speedd() if ( getPedOccupiedVehicle( localPlayer ) ) then if ( getVehicleController( getPedOccupiedVehicle( localPlayer ) ) == localPlayer ) then if ( isVehicleOnGround( getPedOccupiedVehicle( localPlayer ) ) ) then if ( getAnalogControlState("accelerate") == 1) then local velX, velY, velZ = getElementVelocity( getPedOccupiedVehicle( localPlayer ) ) local a = setElementVelocity( getPedOccupiedVehicle( localPlayer ), velX * 1.1, velY * 1.1, velZ ) end end end end end function startSpeed() addEventHandler("onClientRender", root, Speedd) isSpeedEnabled = true end function killSpeed() if (isSpeedEnabled) then removeEventHandler("onClientRender", root, Speedd) isSpeedEnabled = false end end function bindStuff() outputDebugString("Binding keys for Speed") bindKey("lalt", "down", startSpeed) bindKey("lalt", "up", killSpeed) end bindStuff()
  14. Did you try another mysql connection ?
  15. If you're using the default admin panel of MTA you can follow this:
  16. This is an example -- Server Side function disableCommands(cmd) if (cmd == "login" or cmd == "logout" or cmd == "register") then cancelEvent() end end addEventHandler("onPlayerCommand", root, disableCommands)
  17. We are back after a shutdown of a year and half. Join our Server - Forum - Discord
  18. We are back after a shutdown of a year and half. Join our Server - Forum - Discord
  19. AuroraRPG Concert We invite you to our AuroraRPG Concert at 02/16/19 11PM GMT +8 Click Here ! Includes: In Game Cash + VIP Rewards + Score Effects: Lights, Peds, Screen, Sky, Explosion, Player Effects, Etc. (Like you experience in a real-life party) Requires: Close all your programs other than MTASA to avoid lag.How to get ready: Download our 700mb party resource in-game to get ready for 02/16/19. We hope to see you there. -AuroraRPG Regards.
  20. xMKHx

    Dx Visibility

    Hello, I'm making a dx counting but it's visible for everyone I just want to make it visible only for a team or selected players with data Here is an example -- Client function Dx () dxDrawText("text", 1, 1, 1, 1, tocolor(250, 120, 4, 255), 7.00, "bankgothic", "center", "center", false, false, false, false, false) end -- After using this command it will show the Dx Text for Root function showDx () addEventHandler("onClientRender", root, Dx) end addCommandHandler("showdx", showDx) I have tried many methods but nothing.