Raised This Month: $ Target: $400
 0% 

Knife Api Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wEight
BANNED
Join Date: Jan 2015
Old 06-18-2015 , 11:42   Knife Api Question
Reply With Quote #1

Since i couldn't find the module required in the thread, and everyone just yells "It works", why do i get this message? Where can i find the module?

Code:
 [ 21] unknown                 unknown     unknown           hlcrowbar.amxx   bad load 
( 21) Load fails: Module/Library "knifeapi" required for plugin. Check modules.ini.
I put "knifeapi.inc" in scripting/include... idk
wEight is offline
wEight
BANNED
Join Date: Jan 2015
Old 06-18-2015 , 14:24   Re: Knife Api Question
Reply With Quote #2

anyone?
wEight is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 06-18-2015 , 14:59   Re: Knife Api Question
Reply With Quote #3

Well, because that knifeapi has an .amxx too, not only an .inc
In other words, you should have 2 files:

Quote:
knifeapi.amxx
knifeapi.inc

Last edited by Depresie; 06-18-2015 at 15:00.
Depresie is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 06-18-2015 , 17:48   Re: Knife Api Question
Reply With Quote #4

Why are you asking here? Go ask where you got the plugin from.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
wEight
BANNED
Join Date: Jan 2015
Old 06-18-2015 , 19:37   Re: Knife Api Question
Reply With Quote #5

Depresie ohh never thought of something like that ill try
Wickedd i have no idea why i posted this in scripting help and realized lol


Mods can trash this
wEight is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 06-18-2015 , 23:54   Re: Knife Api Question
Reply With Quote #6

Check if you have the module named 'cstrike',
I had same problem, plugins giving wierd errors cus I didnt had that module.
__________________
Retired.
Xalus is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 06-19-2015 , 06:31   Re: Knife Api Question
Reply With Quote #7

Correct me if im wrong, but i think an API, is something like for example, let's say you have an unlimited ammo clip plugin.
And you want to create several extra weapons with unlimited ammo clip.
Instead of writing that unlimited ammo clip code in each one of them registering 10 curweapon events, you just write one plugin and you make couple natives, to set unlimited clip or to remove it.
Then you just use those natives in the weapon plugins.

Sorry for the bad example
Depresie is offline
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 06-19-2015 , 10:43   Re: Knife Api Question
Reply With Quote #8

please do a search before posting next time.
https://forums.alliedmods.net/showthread.php?t=240304
__________________
Shiina.Mashiro is offline
wEight
BANNED
Join Date: Jan 2015
Old 06-19-2015 , 12:48   Re: Knife Api Question
Reply With Quote #9

Quote:
Originally Posted by Shiina.Mashiro View Post
please do a search before posting next time.
https://forums.alliedmods.net/showthread.php?t=240304
Please search yourself before telling me (or anyone) to search, Translation: Please do find my answer yourself, didn't find it? Well I'm sorry but I couldn't find it as well, that's why i made this thread. Don't know what's my question? Read the first post made by the author of the thread aka me.

@Depresie

Umm... xD
But wait, you said i needed to put the .amxx and .inc? I putt the .inc but why the .amxx? I don't understand, It's just a plugin like the one i made.

@Xalus

Huh? But it didn't say that cstrike module is missing and i have it, please read the first post...

Last edited by wEight; 06-19-2015 at 12:52.
wEight is offline
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 06-19-2015 , 12:53   Re: Knife Api Question
Reply With Quote #10

Quote:
Originally Posted by wEight View Post
Please search yourself before telling me to search, Translation: Please do find my answer yourself, didn't find it? Well I'm sorry but I couldn't find it as well, that's why i made this thread. Don't know what's my question? Read the first post made by the author of the thread aka me.
Do I even need to repeat again ? You're the one who need to SEARCH that thread to find your solution, not me.
__________________
Shiina.Mashiro is offline
Reply



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 10:28.


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