AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   inc error (https://forums.alliedmods.net/showthread.php?t=272538)

zombiesucker 10-02-2015 13:18

inc error
 
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.

fysiks 10-02-2015 20:25

Re: inc error
 
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.

OciXCrom 10-02-2015 20:28

Re: inc error
 
Or you're simply missing the plugin that registers the library.

zombiesucker 10-02-2015 21:34

Re: inc error
 
Quote:

Originally Posted by fysiks (Post 2349100)
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 10-02-2015 21:35

Re: inc error
 
Quote:

Originally Posted by OciXCrom (Post 2349104)
Or you're simply missing the plugin that registers the library.

did I registered it in the Inc code above?

fysiks 10-02-2015 21:46

Re: inc error
 
Quote:

Originally Posted by zombiesucker (Post 2349127)
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"?

zombiesucker 10-02-2015 22:06

Re: inc error
 
Quote:

Originally Posted by fysiks (Post 2349134)
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?

fysiks 10-03-2015 02:30

Re: inc error
 
Quote:

Originally Posted by zombiesucker (Post 2349139)
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?

zombiesucker 10-03-2015 03:05

Re: inc error
 
Quote:

Originally Posted by fysiks (Post 2349185)
That implies that you wrote the code for the natives too. Where are those?

what do you mean?

OciXCrom 10-03-2015 08:05

Re: inc error
 
How do you expect this .inc file to give the points, when there is no plugin for them?!


All times are GMT -4. The time now is 22:04.

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