AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   where the wrong ? (https://forums.alliedmods.net/showthread.php?t=293553)

yas17sin 02-03-2017 22:40

where the wrong ?
 
Hi guys.

I acctualy take from a friend this and i edit it before testing it. and now after testing it. it didn't work. and i dont't know what i am doing wrong here.

i get this error from console :
Code:

( 49) Load fails: Plugin uses an unknown function (name "get_user_level") - check your modules.ini.
include file :
PHP Code:

// Returns player Experience.
native get_user_xp(id)

// Sets player Experience.
native set_user_xp(idamount)

// Returns player Level.
native get_user_level(id)

// Sets player Level.
native set_user_level(idamount)

// Returns player Level by Xp.
native get_user_max_level(id


Black Rose 02-04-2017 05:31

Re: where the wrong ?
 
It looks like you're missing an API containing those functions.
Download and install the plugin (API) that has these natives.


All times are GMT -4. The time now is 20:43.

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