Raised This Month: $51 Target: $400
 12% 

[amxmodx.inc]server_changelevel paramters are incorrect


  
 
 
Thread Tools Display Modes
Author Message
fsfod
Junior Member
Join Date: Jul 2004
Location: UK
Old 09-15-2004 , 21:09   [amxmodx.inc]server_changelevel paramters are incorrect
#1

"forward server_changelevel();" should be changed to "forward server_changelevel(map[]);" in amxmodx.inc

heres the peice of code excutes the server_changelevel forward which plainly pass's the map name to the forward
Code:
void C_ChangeLevel(char* s1, char* s2)
{
	if (FF_ChangeLevel) {
		int retVal = 0;
		char *map = s1;
		retVal = executeForwards(FF_ChangeLevel, map);
		if (retVal)
			RETURN_META(MRES_SUPERCEDE);
	}
	RETURN_META(MRES_IGNORED);
}
fsfod is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 09-16-2004 , 05:49  
#2

I could be wrong but I think it was like that ever since amxmod. You could still register this with fakemeta and get the mapname.
Johnny got his gun is offline
BAILOPAN
Join Date: Jan 2004
Old 09-16-2004 , 18:35  
#3

fixed
__________________
egg
BAILOPAN is offline
 



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 17:53.


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