Raised This Month: $ Target: $400
 0% 

inc error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zombiesucker
Member
Join Date: Sep 2015
Old 10-02-2015 , 13:18   inc error
Reply With Quote #1

hello alliedmodders,
i have this include file
PHP Code:
#if defined _po_points_included
    #endinput
#endif
#define _po_points_included

#if AMXX_VERSION_NUM >= 175
    #pragma reqlib po_points
    #if !defined AMXMODX_NOAUTOLOAD
        #pragma loadlib po_points
    #endif
#else
    #pragma library po_points
#endif

/****************************************************
*                    Points Inc                        *
*****************************************************/

/**
 * add points to player
 * param id - ID of client
 */
native po_add_points(id)
 
 
 
/**
 * set points to Player
 * param id - ID of client
 */
native po_set_points(idpoints)
 
 
/**
 * Get the amount of points
 * param id - ID of client
 */
native po_get_user_points(id
and when i use one of its natives i got this error
failed to load: Module/Library "po_points" required for plugin. Check modules.ini.

Last edited by zombiesucker; 10-02-2015 at 13:18.
zombiesucker is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-02-2015 , 20:25   Re: inc error
Reply With Quote #2

You are missing the module. You need to get the .dll (or .so) file for your server. It should be in the amxmodx/modules folder.
__________________
fysiks is online now
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-02-2015 , 20:28   Re: inc error
Reply With Quote #3

Or you're simply missing the plugin that registers the library.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
zombiesucker
Member
Join Date: Sep 2015
Old 10-02-2015 , 21:34   Re: inc error
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
You are missing the module. You need to get the .dll (or .so) file for your server. It should be in the amxmodx/modules folder.
I tried to make this include thats why I'm saying this,, and I don't know how to get its .DLL file
zombiesucker is offline
zombiesucker
Member
Join Date: Sep 2015
Old 10-02-2015 , 21:35   Re: inc error
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
Or you're simply missing the plugin that registers the library.
did I registered it in the Inc code above?
zombiesucker is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-02-2015 , 21:46   Re: inc error
Reply With Quote #6

Quote:
Originally Posted by zombiesucker View Post
I tried to make this include thats why I'm saying this,, and I don't know how to get its .DLL file
Huh? What did you "make"?
__________________
fysiks is online now
zombiesucker
Member
Join Date: Sep 2015
Old 10-02-2015 , 22:06   Re: inc error
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
Huh? What did you "make"?
i made this include yestarday,, so when i tried to use it in one of the plugins this error apears,, did you get it?
zombiesucker is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-03-2015 , 02:30   Re: inc error
Reply With Quote #8

Quote:
Originally Posted by zombiesucker View Post
i made this include yestarday,, so when i tried to use it in one of the plugins this error apears,, did you get it?
That implies that you wrote the code for the natives too. Where are those?
__________________
fysiks is online now
zombiesucker
Member
Join Date: Sep 2015
Old 10-03-2015 , 03:05   Re: inc error
Reply With Quote #9

Quote:
Originally Posted by fysiks View Post
That implies that you wrote the code for the natives too. Where are those?
what do you mean?
zombiesucker is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-03-2015 , 08:05   Re: inc error
Reply With Quote #10

How do you expect this .inc file to give the points, when there is no plugin for them?!
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 15:54.


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