Guest Posted January 28, 2017 Share Posted January 28, 2017 Hello, I need help! Can someone make a script that will make minigun not overpowered. I mean that I need minigun that will do low damage, because it sucks So please , please help me guys Link to comment
xeon17 Posted January 29, 2017 Share Posted January 29, 2017 Weapon damage can be modified using this function: setWeaponProperty Link to comment
Guest Posted January 29, 2017 Share Posted January 29, 2017 I don't understand anything at scripting .....Can you make it for me ? please , please Link to comment
Guest Posted February 26, 2017 Share Posted February 26, 2017 hey please peopleeeeeeeeeeeeeee!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Link to comment
Reinhard Posted February 26, 2017 Share Posted February 26, 2017 (edited) function weapondamage() setWeaponProperty("minigun", "pro", "damage", 2) end try this... it's not a hard thing to do. anyways this topic should be moved to: https://forum.multitheftauto.com/forum/71-scripting/ please post at that link ^ next time, not here. Edited February 26, 2017 by Reinhard Link to comment
Guest Posted March 5, 2017 Share Posted March 5, 2017 hey this is client or server side ?? I dont know it doesn't work it does same damage. I need that minigun will do low damage to car and low damage to players.... can you solve this ? Link to comment
Guest Posted March 6, 2017 Share Posted March 6, 2017 And can you tell me what to write in meta ? Link to comment
aka Blue Posted March 7, 2017 Share Posted March 7, 2017 This is your 21 post and you dont care to read the basic about Lua scripting. This is a forum for help, not a free script supermarket Link to comment
Guest Posted March 9, 2017 Share Posted March 9, 2017 Please people, I want to make a perfect server , so I am trying. I tried to make scripts by myself but not worth because errors and other stuff, please one more help please!!! Link to comment
xeon17 Posted March 9, 2017 Share Posted March 9, 2017 Making the perfect server without learning how to code? next joke pls Link to comment
Guest Posted March 9, 2017 Share Posted March 9, 2017 So you all here for help or just chit chat ? Link to comment
Rudransh Posted March 9, 2017 Share Posted March 9, 2017 Dude, go and learn something or get a team. No one is going to make something for you all the time. Link to comment
Guest Posted March 9, 2017 Share Posted March 9, 2017 (edited) Please, I need only this help to make not overpowered guns like minigun..... That person who made that script it doesn't work , I tried to fix that but no luck...Please, how many times do I have to ask ? I will learn , but help me with this plz people..... Edited March 9, 2017 by Guest ss Link to comment
aka Blue Posted March 12, 2017 Share Posted March 12, 2017 You say this would be your last request but im 100% sure that you are going to request another free resource in a few days (or hours ). We can help you if you show interest in learning. We are not slaves and we are not going to do your server scripts for free. Link to comment
Guest Posted March 12, 2017 Share Posted March 12, 2017 Its my last request please , I don't call you slaves, you are people that knows how to script, I don't know how to call but... I need this script please ! function weapondamage() setWeaponProperty("minigun", "pro", "damage", 2) end For some reason this doesn't work maybe I do something wrong in meta file..... Can you solve this ? Only this ? PLEASE!!!!!! Link to comment
xeon17 Posted March 15, 2017 Share Posted March 15, 2017 Is this the entire script? it the script server side in meta? Link to comment
Guest Posted March 15, 2017 Share Posted March 15, 2017 Yes its server side but it doesnt work, I tried to make to client side but doesn't work too.... Link to comment
xeon17 Posted March 15, 2017 Share Posted March 15, 2017 Do this, Login > open F8 > start runcode > srun getWeaponProperty("minigun", "pro", "damage") And tell me what it outputs. Link to comment
Guest Posted March 15, 2017 Share Posted March 15, 2017 executed command: getWeaponProperty("minigun", "pro", "damage") Command results: 140 [number] Thats what I got when I done this steps. Link to comment
xeon17 Posted March 15, 2017 Share Posted March 15, 2017 That means the code you showed us above was never executed. That's because the function is not attached to any event handler. Try this code: addEventHandler("onResourceStart", resourceRoot, -- resourceRoot == the resource that just started (this resource) function () setWeaponProperty("minigun", "pro", "damage", 2) end) Link to comment
Guest Posted March 15, 2017 Share Posted March 15, 2017 Thanks,xeon17, now it works perfectly I appreciate that bro thanks again. Link to comment
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