Kyllix Posted October 2, 2018 Posted October 2, 2018 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!
Moderators Patrick Posted October 2, 2018 Moderators Posted October 2, 2018 (edited) -- SERVER SIDE SCRIPT addCommandHandler("kit", function(player) giveWeapon(player, 30, 1000) -- M4 with 1000 ammo -- example: giveWeapon(player, WEAPONID, AMMO) end) Here you can find the weapon ids: https://wiki.multitheftauto.com/wiki/Weapons Edited October 2, 2018 by Patrick2562 1
Kyllix Posted October 2, 2018 Author Posted October 2, 2018 Oh thank you but I would have another problem with my server, I will put 1,000,000,000 of projectiles on your script and not give them endless help!
Kyllix Posted October 2, 2018 Author Posted October 2, 2018 (edited) 3 minutes ago, Dimos7 said: for infinty ammo need put at 3rd argument 99999 Dont work! Ok I solved thanks the same 15 minutes ago, Dimos7 said: for infinty ammo need put at 3rd argument 99999 Edited October 2, 2018 by Kyllix
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now