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

help with gunxmod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
asmail4d
New Member
Join Date: Apr 2015
Old 05-03-2016 , 14:32   help with gunxmod
Reply With Quote #1

[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;
	}
asmail4d is offline
Senzor
Member
Join Date: Nov 2012
Location: Romania
Old 05-03-2016 , 14:38   Re: help with gunxmod
Reply With Quote #2

post the full code
i guess your problem is you don't have the function in your code"new load_power_one"

Last edited by Senzor; 05-03-2016 at 15:03.
Senzor is offline
asmail4d
New Member
Join Date: Apr 2015
Old 05-04-2016 , 14:10   Re: help with gunxmod
Reply With Quote #3

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
asmail4d is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 05-05-2016 , 08:26   Re: help with gunxmod
Reply With Quote #4

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.
__________________
Black Rose is offline
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 07:58.


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