Raised This Month: $404 Target: $400
 101% 

Solved weapons.inc


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MsNs7
Member
Join Date: Oct 2012
Location: Greece
Old 04-20-2017 , 14:36   weapons.inc
Reply With Quote #1

Hello everyone.

I have a plugin for CS:GO which needs the weapons.inc file in order to compile. I couldn't find it in the include folder of sm. I also searched the internet a bit but i didn't manage to find it attached anywhere. The plugin has two functions that are supposed to be inside the weapons.inc file.

- Client_RemoveWeaponKnife
- Client_HasWeaponKnife

I hope someone can assist me soon. Thanks in advance.
__________________
Setti Steam Group
...you can achieve immortality, simply by doing one great thing...

Last edited by MsNs7; 04-20-2017 at 18:34.
MsNs7 is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 04-20-2017 , 15:39   Re: weapons.inc
Reply With Quote #2

it's from SMLIB, it should be somewhere on the github
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.
KissLick is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 04-20-2017 , 15:52   Re: weapons.inc
Reply With Quote #3

Quote:
Originally Posted by KissLick View Post
it's from SMLIB, it should be somewhere on the github
I don't think it's from the current smlib, perhaps an older version.

I've attached your missing include.
Attached Files
File Type: inc weapons.inc (2.9 KB, 21 views)
__________________

Last edited by sneaK; 04-20-2017 at 15:55.
sneaK is offline
MsNs7
Member
Join Date: Oct 2012
Location: Greece
Old 04-20-2017 , 18:33   Re: weapons.inc
Reply With Quote #4

Huge thanks for the replies.

sneak is right, it's not from the current smlib. I tried to make the compile work by including smlib in my plugin, but unfortunatelly it didn't work. The attached file worked perfectly though.

Much thanks again for your time and help guys.
__________________
Setti Steam Group
...you can achieve immortality, simply by doing one great thing...
MsNs7 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:18.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode