Removed
PHP Code:
#include <LevelSystem>
and added
PHP Code:
register_library("LevelSystem")
and not worked.
Then 2nd try:
Changed the native to:
PHP Code:
register_native("zp_get_user_level", "native_get_user_level")
not worked lol
3rd try:
Changed the native to:
PHP Code:
register_native("zp_get_user_level", "native_get_user_level", 0)
again not worked.
Looked at another plugins and the natives are registered 100% the same way as mine (you can take a look of ZP 4.3 plugin for example it's the same [I've took the example out of there])
The library (LevelSystem):
PHP Code:
native zp_get_user_level(id)
native zp_set_user_level(id, amount)
native zp_get_user_exp(id)
native zp_set_user_exp(id, amount)
native zp_get_user_reset(id)
native zp_set_user_reset(id, amount)
native zp_get_user_boost(id)
native zp_set_user_boost(id, amount)
native zp_get_user_escapes(id)
native zp_set_user_escapes(id, amount)
Any help will be appreciated.
P.S.
The suspicous thing is the server.cfg file is executed twice. How I got that?
I wrote:
PHP Code:
echo Server.CFG Executed!
at server.cfg and when start server at console it writes this twice and then the server has crashed.