Jump to content

Search the Community

Showing results for tags 'weapons'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 20 results

  1. Hi! I'm a kind of noob scripter making a VIP panel, but I do not find a way to set.. for example, I want the player to spawn op weapons (only for vip users in this case), like Rocket Launcher, only a few times at day, not more than the established number of times for spawning it. Is it possible to do that? Also spawn Rhino's and some vehicles that I made only for VIP's.
  2. So i have a shop script wich pretty much allows to buy items/weapons from this shop, the shop sells with "K.B.K Points" which is the player money but with another name to fit the server. The problem i have is when player buys one of the item they get all of them. I want to make them get the item they buy ONLY and get the right amount, for example if you buy a MK 48 Mod 0 Mag, you should get 100x of this item in your inventory because the mag itself is 100, otherwise wich ive tested it only gave 1x. But the problem is when i add more lines which i have shown below, it gives the player all the i
  3. Hello guys I need help to create a script for a kit of weapons you know how to do? I would like with a command gives me the kit of weapons for example I do / kit and gives me weapons if you know you tell me please!
  4. -- This piece of code in located in the 'onPlayerQuit' event handler. It saves the player's weapons and ammo if he has any, this is all working correctly local weapons = {} for slot = 1, 12 do local weapon = getPedWeapon(source, slot) if weapon > 0 then local ammo = getPedTotalAmmo(source, slot) if ammo > 0 then table.insert(weapons, {weapon, ammo}) end end end -- This is what appears under the 'weapons' column in the player's account table entry [ [ [ 30, 176 ] ] ] -- Which means the player left the server and had an AK-47 with total 176 ammo left -- And this i
  5. Badboysteve

    Weapons

    Hi am looking for a script that is a custom damage modifier instead of the original gta sa weapons i want to change the range of guns damage and also accuracy and max clip a gun can hold is that possible?
  6. Hello! I need to use attachElements with an object in a player's gun, but from what I noticed the player's weapon is not recognized as "element". Code: function customM4(source) if getPedWeapon(source) == 31 then local gunModel = createObject(1487, 1, 2, 3) attachElements(gunModel, getPedWeapon(source)) end end addCommandHandler("m4skin", customM4)
  7. Hi, guys, i'm a belarusian, so i'm sorry for my bad english. My suggestion is that you should add a possibility to change animations of guns, so i could shoot and hold colt45 or another guns like a normal guy, not a gangsta :O :~ guy. This issue is already exist since 2014 https://bugs.mtasa.com/view.php?id=8396 I like roleplay servers so i wish u will add this function soon. Thanks.
  8. I want to force the player to run and aim at the same time with machine guns. (M4, AK47)
  9. Hello all MTA community recently I checked in my server that I need to do some settings like rhino I wanna make rhino for timer purpose like all can buy rhino but for minimum time -10 min 0r 5min till he die !how can I ? From fr-cilent .Lua or should I need add any other way ? Next is : I want to give more effect of ammos for ak47,m4 more ammo ,for snatchels and grenades I mean when I throw 1 grenade the other player must die even if he is with armour+health ,in recently MTA by thrwoing 4 grenades or snatchels only able to make player die ! anyone suggest me how to ? Please let me know
  10. Working on a First Person Shooter gamemode, and i found a bug. The event onClientPreRender causes some delay at attachElements. Can somebody reproduce attachElements maths for me?
  11. Does anyone have a script that does this, or do you know how to make these new weapons? If yes please teach me !!
  12. help! can anyone tell me how to block rino and some vehicle. please......
  13. can any one say me how can i block weapons like rpg,minigun,rocket launcher etc..
  14. Salut ... m-am gandit ca ar fi o idee buna sa adaugati un mod de crafting de arme... si m-am gandit si cum sa functioneze : Arma: -Un om este plasat pe harta (un om care vinde materialele .. sa zicem ca il cheama Jonny McGregor) -Cumperi materialele ... (sa fie o comanda sa vezi cate materiale ai ... /wepmaterials , /materialsview .. ) -Dupe ce cumperi materialele.. craftezi arma.. -Sa fie o comanda pentru a crafta arma (/buildweapon [id] ex. colt [5] , ak47 [7] etc etc ... ) -Dupa care ai acceasi animatie ca la HACKER ! Dupa ce o crafteaza o vei putea avea in inv
  15. Hello there, I've been trying to create a weapon (uzi) and attach it on a vehicle (hydra) the weapon should fire when I click the left mouse button. I am stuck at the very beginning of the script (trying to get the uzi to spawn) and I just cannot progress any further. function hydraGuns() local vehicle = getPedOccupiedVehicle(localPlayer) if(vehicle)then if getElementModel(vehicle) == 520 then local x, y, z = getElementPosition(vehicle) local weapon = createWeapon("uzi", x, y, z) outputChatBox ("Hydra guns are installed") end
  16. function buyWeapon(thePlayer, command) local mycoins = exports.coinsystem:getPlayerCoin(thePlayer) if (mycoins >= 1) then giveWeapon(thePlayer, 31, 2000) exports.coinsystem:takePlayerCoin(thePlayer, prize) outputChatBox("you bought a M4.", thePlayer, 0, 255, 0, false) else outputChatBox("you don't have enough coins!", thePlayer, 255, 0, 0, false) end end addCommandHandler("buyw", buyWeapon) i got this error: xy.lua:17: attempt to compare number with nil
  17. Attention I have created this topic to tell you everyone that I am going to freelance in MTA:SA. As you don't know I am working with MTA:SA since 2013 and I have a lot of experience. If you are interested in any of MTA:SA (like DayZ) resouces, scripts or other things, just tell me what you want and I will sell it to you. Also I can teach you how to make some kind of scripts/resources/models/etc. by yourself, how to add it to the server. I can be your server scripter/mapper/hacker/etc., just hire me. Don't be shy You can contact me via e-mail (herokileris@gmail.com) or skype (herokile
  18. Hello, I have been looking for a way to check if melee damage was dealt with a weapon, because I want to add a gears of war animation when hit with a weapon, I was looking at the MTA Damage Types, found this: Does anyone have an Idea what can I use to accomplish this? thanks!
  19. Hello any1 knows how to add more guns on server? I have dayz server and i would like to get some help. Just tell me here or contact me if you know how to script.
  20. Guns Do not Work Error In MTA I play with my friends with heavy weapons and all that and reads * WARNING * Player * have * a * weapon * WARNING * Dominic1064 example has a Rocket Launcher help me plz tell me to play more good
×
×
  • Create New...