Jump to content

onWeaponFire


Recommended Posts

Posted

Why it is not work? :?

weapon_s.lua

addEventHandler("onWeaponFire", root, function() 
    outputChatBox("test") 
end) 

meta

="weapon_s.lua" type="server" />server="1.4" />

Debug is not give error or warning!

  • Moderators
Posted

There are no custom weapons on serverside, event is useless.

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Posted
There are no custom weapons on serverside, event is useless.

Yeah i thinked the same , but i guess the event trigger when a client-side custom weapon fire.

A unique GangWar gamemode waiting for you!
Click here for more information.

560x95_FFFFFF_FF9900_000000_000000.png

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