Raised This Month: $ Target: $400
 0% 

Dynamic Natives


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 03-14-2009 , 03:35   Dynamic Natives
Reply With Quote #1

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.

Last edited by Spunky; 03-14-2009 at 03:38.
Spunky is offline
Send a message via AIM to Spunky
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-14-2009 , 03:43   Re: Dynamic Natives
Reply With Quote #2

Quote:
Originally Posted by Spunky View Post
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.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 03-14-2009 , 03:46   Re: Dynamic Natives
Reply With Quote #3

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.
Spunky is offline
Send a message via AIM to Spunky
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-14-2009 , 04:38   Re: Dynamic Natives
Reply With Quote #4

Looks fine, what tells amxx list command ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 03-14-2009 , 05:45   Re: Dynamic Natives
Reply With Quote #5

Nevermind, I figured out what was wrong. Stupid mistake. x_x
Spunky is offline
Send a message via AIM to Spunky
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 09:03.


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