Raised This Month: $32 Target: $400
 8% 

inc error


Post New Thread Reply   
 
Thread Tools Display Modes
zombiesucker
Member
Join Date: Sep 2015
Old 10-03-2015 , 09:08   Re: inc error
Reply With Quote #11

no plugin for them? ,, I made simple plugin for them already and I use of its natives
zombiesucker is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-03-2015 , 09:18   Re: inc error
Reply With Quote #12

Post the code here then?
OciXCrom is offline
Send a message via Skype™ to OciXCrom
zombiesucker
Member
Join Date: Sep 2015
Old 10-03-2015 , 09:45   Re: inc error
Reply With Quote #13

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <po_points>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /points""ShowPoints");
}

public 
ShowPoints(id)
{
    new 
iPoints po_get_user_points(id);
    
client_print(idprint_chat"You Have %i Total Points"iPoints);

there you go
zombiesucker is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-03-2015 , 10:07   Re: inc error
Reply With Quote #14

This is not how you register a library.

PHP Code:
public plugin_natives()
{
    
register_library("po_points")
    
register_native("po_get_user_points""ShowPoints"1)

I don't see a working code for the other natives.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
zombiesucker
Member
Join Date: Sep 2015
Old 10-03-2015 , 10:29   Re: inc error
Reply With Quote #15

Quote:
I don't see a working code for the other natives.
told you i made simple plugin

Last edited by zombiesucker; 10-03-2015 at 10:29.
zombiesucker is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-03-2015 , 12:39   Re: inc error
Reply With Quote #16

You can't just make up function names, put them in an include file, and expect them to magically do stuff.

Where is the code for the po_get_user_points(id) function?
__________________
fysiks is offline
zombiesucker
Member
Join Date: Sep 2015
Old 10-03-2015 , 13:33   Re: inc error
Reply With Quote #17

Quote:
Where is the code for the po_get_user_points(id) function?
code?
zombiesucker is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-03-2015 , 14:41   Re: inc error
Reply With Quote #18

Quote:
Originally Posted by zombiesucker View Post
code?
Yeah. Where is the code for the natives? If you didn't write the code for these natives then where did you get the include file?
__________________
fysiks is offline
zombiesucker
Member
Join Date: Sep 2015
Old 10-03-2015 , 15:21   Re: inc error
Reply With Quote #19

Quote:
Originally Posted by fysiks View Post
Yeah. Where is the code for the natives? If you didn't write the code for these natives then where did you get the include file?
@fysiks code what i can't understand you?,, can you give Inc file you made that can help me do .inc

Last edited by zombiesucker; 10-03-2015 at 16:58.
zombiesucker is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-03-2015 , 18:47   Re: inc error
Reply With Quote #20

Dude, try to focus.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 12:12.


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