AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help with gunxmod (https://forums.alliedmods.net/showthread.php?t=282295)

asmail4d 05-03-2016 14:32

help with gunxmod
 
[AMXX] Plugin "gunxpmod.amxx" failed to load: Plugin uses an unknown function (name "load_power_one") - check your modules.ini.



Code:

load_power_one(id);
                        } else {
                                static szQuery[256];
                                formatex( szQuery, 255, "UPDATE `%s` SET `player_id` = '%s', `player_level` = '%d', `player_xp` = '%d', `player_prestige` = '%d', `player_name` = '%s', `player_last_date` = '%s' WHERE `player_id` = '%s';", TABLE_NAME, get_user_authid_ex(id), PlayerLevel[id], PlayerXp[id], PlayerPrestige[id], get_user_name_ex(id), get_time_ex(), get_player_id(id));
                                SQL_ThreadQuery( g_hTuple, "QuerySetData", szQuery);
                        load_power_one(id);
                } else {
                        SaveLevel(id);
                }
               
                gStatsLoaded[id] = true;
        }


Senzor 05-03-2016 14:38

Re: help with gunxmod
 
post the full code
i guess your problem is you don't have the function in your code"new load_power_one"

asmail4d 05-04-2016 14:10

Re: help with gunxmod
 
look //POWERS******
native load_powers(); //Load all levels

native get_bonus_xp(id); //Get bonus XP
native get_k1asus(id); //Get k1asus count
native get_supp_box(id); //Get supply box XP from
native get_forcefield_time(id); //Get force field additional time
native get_pipe_radius(id); //Get percent of additional radius
native load_power_one(id); //Load one player power
native save_on_other(id); //Remove old and save new

Black Rose 05-05-2016 08:26

Re: help with gunxmod
 
You need the plugin or the module that registers that function.
What you posted is just a list of natives that your plugin uses. It's basically the same things in all the .inc files.

Make sure you have all the parts required for that XP mod, you seem to be missing at least one.


All times are GMT -4. The time now is 18:40.

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