Jump to content

FallenGod

Members
  • Posts

    29
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by FallenGod

  1. Hi , I think all MTA ports are blocked, because in MTA , no server is loaded in the server list, nor can I connect to a server. I ran MTADIag.exe and it gave me the following pastebin link : https://pastebin.mtasa.com/2127323442
  2. Hi , how to give X Y Pos And Get On Ground Z Pos ?
  3. Use attachElements
  4. You Can Run Ped With https://wiki.multitheftauto.com/wiki/FindRotation
  5. Edit mtaserver.conf , Acl.xml , BanList.xml
  6. Sure , You Can Buy , if You Want Buy Dm Me On Discord : ErroR#3727
  7. You Can't Create New Dim But You Can Get Free Dim With https://wiki.multitheftauto.com/wiki/GetFreeDimension
  8. Use Thats Code : --== Script By ErroR (FullOffeD) ==-- local weaponID = 24 local newFireRate = 250 -- This sets the weapon to fire every 250 milliseconds (4 shots per second) setWeaponProperty(weaponID, "poor", "fireRate", newFireRate) setWeaponProperty(weaponID, "std", "fireRate", newFireRate) setWeaponProperty(weaponID, "pro", "fireRate", newFireRate)
  9. Hi I Hope I Can Help You --== Script By ErroR (FullOffeD) ==-- -- Set the target position local targetX, targetY, targetZ = 100, 200, 10 -- Create the vehicle local vehicle = createVehicle(411, 0, 0, 0) -- Get Distance function getDistance(x1, y1, z1, x2, y2, z2) return math.sqrt((x2 - x1) ^ 2 + (y2 - y1) ^ 2 + (z2 - z1) ^ 2) end function moveVehicleToTarget() local x, y, z = getElementPosition(vehicle) local distance = getDistance(x, y, z, targetX, targetY, targetZ) -- Speed To Move local speed = 5 if distance > 1 then local directionX = (targetX - x) / distance local directionY = (targetY - y) / distance local directionZ = (targetZ - z) / distance setElementPosition(vehicle, x + directionX * speed, y + directionY * speed, z + directionZ * speed) addEventHandler("onClientRender", root, moveVehicleToTarget) else removeEventHandler("onClientRender", root, moveVehicleToTarget) end end Use Thats Code To Move Vehicle To Your Custom x,y,z Without Player
  10. Thats Not Gui , Thats is Dx and Thats Draw Camera Target if You Buy Thats Script You Can Send Me Messages on Telegram (@MrGhaziO) , Discord (ErroR#3727)
  11. You Can Use https://wiki.multitheftauto.com/wiki/DxDrawText Or https://wiki.multitheftauto.com/wiki/GuiCreateLabel To Draw Text On Player Screen
  12. Hey Bro i Hope I Can Help You , You Can Use isObjectInACLGroup (https://wiki.multitheftauto.com/wiki/IsObjectInACLGroup) To Detect is Player In ACL Or Not And You Can Use attachElement (https://wiki.multitheftauto.com/wiki/AttachElements) To Attach Vehicle To Player
  13. Hi , You Can Use BindKey (https://wiki.multitheftauto.com/wiki/BindKey) Movment Keys (W,S,A,D) To Detect Player Move And Use playSFX (https://wiki.multitheftauto.com/wiki/PlaySFX) To Play SFX For source Player Or Can Use playSFX3D ( https://wiki.multitheftauto.com/wiki/PlaySFX3D) To Play 3D SFX To All Players
  14. Thats True , Use it
  15. You Got MySql (DataBase) Error
  16. Camera Move Under Ground Or Player ?
  17. Can You Send Me Your Chat System Code ? To Help You More
  18. You Can Create Rectangle Col With createColRectangle (https://wiki.multitheftauto.com/wiki/CreateColRectangle) To Create Despawn Area And Use onColShapeHit (https://wiki.multitheftauto.com/wiki/OnColShapeHit) Event To Know When Player Enter Despawn Area ?
  19. You Meen When You Aiming Or Cancel Aiming Remove Thats Anim ?
  20. The Default MTA San Dose not Have Vip System But You Can Code That With ACL Or SQLite Or SetElementData Or Table
  21. Hey , Whats Up , I Hope I Can Help You ? You Can Use SetElementData (https://wiki.multitheftauto.com/wiki/SetElementData) Or Table (https://www.lua.org/pil/2.5.html) To Save Count accessories Player Added ! But Thats Code Not Save When Player Quit Or Disconnect You Should Use SQL Or SQLite To Save Data ? If You Don't Understand You Can Send Me Your accessories Resource To I Can Help You More !
  22. FallenGod

    TV Script

    If You Want Buy Script You Can Send Me Message On Discord : ErroR#3727 ?
  23. You Can Use onClientMinimize Event (https://wiki.multitheftauto.com/wiki/OnClientMinimize) To Detect Player Minimized And You Can Use onClientRestore Event (https://wiki.multitheftauto.com/wiki/OnClientRestore) To Know When Player Back To Game ?
  24. Bro getPlayerWeapon Was Deprecated And You Can Replac it with getPedWeapon (https://wiki.multitheftauto.com/wiki/GetPlayerWeapon) Or You Can type upgrade resource-name On Your Consol ?
  25. Salam Dash Khobi ? Iraniam Dash ? Code Zir Ro Bzn Caret Ro Rah Mindaze : local screenWidth, screenHeight = guiGetScreenSize( ) local browser = guiCreateBrowser( 0, 0, screenWidth, screenHeight, false, false, false ) local theBrowser = guiGetBrowser( browser ) addEventHandler( "onClientBrowserCreated", theBrowser, function( ) loadBrowserURL( source, "https://youtu.be/bj20rMaCMV4" ) end ) Enjoy
×
×
  • Create New...