Jump to content

Recommended Posts

  • 4 weeks later...

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

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

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

×
×
  • Create New...