Recommended Posts

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 :) 

Share this post


Link to post

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 ?

Share this post


Link to post

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 

Share this post


Link to post

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!!!

Share this post


Link to post

Making the perfect server without learning how to code? next joke pls

Share this post


Link to post

Dude, go and learn something or get a team. No one is going to make something for you all the time.

Share this post


Link to post

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 by viktoras705
ss

Share this post


Link to post

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.

Share this post


Link to post

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 !  

  1. function weapondamage()
  2. setWeaponProperty("minigun", "pro", "damage", 2)
  3. end

For some reason this doesn't work maybe I do something wrong in meta file..... Can you solve  this ? Only this ? PLEASE!!!!!! 

Share this post


Link to post

Do this,

Login > open F8 > start runcode > srun getWeaponProperty("minigun", "pro", "damage")

And tell me what it outputs.

Share this post


Link to post

executed command: getWeaponProperty("minigun", "pro", "damage")
Command results: 140 [number]

Thats what I got when I done this steps.

Share this post


Link to post

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)

 

  • Like 1

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.