Raised This Month: $ Target: $400
 0% 

[Help]Menu edit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 11-16-2010 , 16:39   Re: [Help]Menu edit
Reply With Quote #4

To remove pagination, use the following code:
Code:
menu_setprop(menu, MPROP_PERPAGE, 0);
Also, you should note that the plugin is really poorly coded.

A small edit of the give_respawn function, and I came up with this for you:
Code:
public give_respawn(id)
{
	if(is_user_alive(id))
	{
		ColorChat(id, GREEN, "^x01[AMXX] ^x04%L", id, "ALIVE")
		return;
	}

	new cost = get_pcvar_num(respawncost)
	
	if ( (get_user_flags(id) & ADMIN_BAN) && (kills >= cost || randomn[id] == true) )
	{
		if(cs_get_user_team(id) == CS_TEAM_T)
		{
			cs_user_spawn(id)
			cs_set_user_team(id, 1)
		}
		 
		else if(cs_get_user_team(id) == CS_TEAM_CT)
		{
			cs_user_spawn(id)
			cs_set_user_team(id, 2)
		}
		ColorChat(id, GREEN, "^x01[AMXX] ^x04%L", id, "GIVERESPAWN")

	}
	
	else
	{
		ColorChat(id, RED, "^x01[AMXX] ^x03%L", id, "NOBUY")
	}
}
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
 



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 11:23.


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