AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Dynamic Natives (https://forums.alliedmods.net/showthread.php?t=87588)

Spunky 03-14-2009 03:35

Dynamic Natives
 
I'm having some trouble which is driving me crazy. I don't think I'm doing it wrong because I've done it exactly the same way before and it's worked (in fact, I copy-pasted from my other plugins to make sure).

vmod.inc:
Code:
#if defined INCLUDED_VMOD     #endinput #endif #define INCLUDED_VMOD #pragma reqlib vmod

vmod.sma:
Code:
public plugin_natives() {     register_library("vmod") }

ARP_HUD.sma:
Code:
#include <ApolloRP> #include <amxmisc> #include <vmod>

Only relevant information (I think) has been given, but I'll post more if it's really necessary. Any clues what's wrong? ARP_HUD.sma is the file throwing the error.

ConnorMcLeod 03-14-2009 03:43

Re: Dynamic Natives
 
Quote:

Originally Posted by Spunky (Post 780161)
Only relevant information (I think) has been given, but I'll post more if it's really necessary. Any clues what's wrong? ARP_HUD.sma is the file throwing the error.

Function code of the native could be usefull.
Errors can also help.

Spunky 03-14-2009 03:46

Re: Dynamic Natives
 
Oh wow, you're right, I didn't even post the error. Ugh, my bad.

Code:

L 03/14/2009 - 03:45:49: [AMXX] Plugin "ARP_HUD.amxx" failed to load: Module/Library "vmod" required for plugin.  Check modules.ini.
It doesn't complain about the natives, just the library. It won't load for whatever reason.

ConnorMcLeod 03-14-2009 04:38

Re: Dynamic Natives
 
Looks fine, what tells amxx list command ?

Spunky 03-14-2009 05:45

Re: Dynamic Natives
 
Nevermind, I figured out what was wrong. Stupid mistake. x_x


All times are GMT -4. The time now is 09:03.

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