Jump to content

O-Dog

Members
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

O-Dog last won the day on August 5

O-Dog had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

O-Dog's Achievements

Vic

Vic (3/54)

4

Reputation

  1. thank you for your support, I believe adding more guns will make him look like an ammunation dealer, the idea was that this dealer is to be used by criminals to buy criminal related guns and not everything.
  2. I have an already pre-made script that does the job well done, however its client side but not big of a change. here's how you can apply it; 1) Go to your MTA SA Directory file then server>mods>deathmatch>resources then create the folder that will contain your files (don't use symbols and space). 2) Inside that folder you created, you will need to have the .dff and .txd files of the car model you'd like to use, as well as the meta.xml and the client.lua files, should look like the following. 3)Open the client.lua and write this: function replaceModel() txd = engineLoadTXD("infernus.txd", 411 ) engineImportTXD(txd, 411) dff = engineLoadDFF("infernus.dff", 411 ) engineReplaceModel(dff, 411) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) replace the infernus with the model you want to change (i.e admiral,cheetah...) as well as the ID of the car which in my case was 411 (you can find the id you are looking for here. 4)Open the meta.xml and write this: <meta> <info name="skins-by-basel" version="1.4" type="misc"/> <script src="client.lua" type="client" /> <file src="infernus.txd" /> <file src="infernus.dff" /> </meta> 5)Enter your server and load the resource, enjoy This also work for ped skins as well, if you did find any issues, contact me on discord mehdi4664
  3. # UPDATE * Added sounds when the player doesn't have enough money or when the purchase is done ( different sounds for both). * Dealers now have voices that are triggered when the the bag is opened or when the player can't buy the weapon. * The bag now remains open even when the transaction is failed.
  4. Vending Machine script inspired from the singleplayer version. Player health will be refilled a bit after each drink. It verifies the money and responds based on that. Works with every vending machine in the map. Video to explain it more: For more information, feel free to join my discord server: https://discord.gg/Nex7e6JUhe Discord account is mehdi4664
  5. When I first started creating the script, I worked with a single ped which was mexican and indeed there was a sound being played whenever the event is triggered, I used ``playPedVoiceLine`` but then I added more different peds so the voice wouldn't match their skin tone which made me remove this function at the end.
  6. The arms dealer script is something I made recently, this script can be used in different game modes. Dealers can be found in various locations around Los Santos. Here's a preview video For more information, feel free to join my discord server: https://discord.gg/Nex7e6JUhe Discord account is mehdi4664
×
×
  • Create New...