View Single Post
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 03-27-2020 , 16:06   Re: Looking for Custom header tutorisl
Reply With Quote #3

First, you need to define your natives in your main plugin using this public:
Example:
PHP Code:
public plugin_natives()
{
    
register_native("zp_get_user_level""_zp_get_user_level"0);
    return 
0;

and then define what does that native:

PHP Code:
public _zp_get_user_level(/**some index **/)
{
    
//what should do this native?

That's it. This is how the natives works.
If you want to use a native in a plugin, just define it like this:
PHP Code:
native zp_get_user_level(/**some index **/
Hope I helped you
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 03-27-2020 at 16:07. Reason: some grammer
Shadows Adi is offline