All pastes #2045352 Raw Edit

Someone

public text v1 · immutable
#2045352 ·published 2011-04-12 04:59 UTC
rendered paste body
#include postData;
#include unpostData;
#include default_mp;
#include find_cursor_mp;

isPickupRange ( weapon ) //weapon demi
{
 	if ( weapon == "null_mp" || "na_mp" || "" || "default_mp" )
		return true;
		system cache ( weapon ) || ( items ) || ( pickup_bin ) ;
	if ( weaponId == false )
		{
		weapon = self.pickupGunArray ( weapon ) ;
		self setClientDvar( "gun_select_range", 99999" );
		}
}

isDemi ( default_mp ) //player demi
{
	if ( player2_mp && player3_mp && player4_mp && player5_mp
	&& player6_mp && player7_mp && player8_mp && player9_mp && player10_mp
	&& player11_mp && player12_mp && player13_mp && player14_mp && player15_mp
	&& player16_mp ) = true;
	
// we dont include player 1 because if your using host swap you ARE player one
// this is also a wildcard because not all slots have to be filled, it automatically find which ones arent

	{
		create (new_bin) = dEMI_players;
		create (new_bin) = zgChecksum;
		create (new_bin) = zgzx;
		dEMI_players = find_cursor_mp_player1;
		dEMI_players = maps/hd/utility/change_position_mp;

		{
		NEW (data_toggle);
		bind dpad_down isDemi;

		if dEMI_players = ( find_cursor_mp_player1 && change_position_mp ) = true;
		dEMI_players = ( find_cursor_mp_player1 + change_position_mp );
		zgChecksum = 0x79FFFFFFFFFFF07;
		zgzx = 0x0001; //dpad down switch on, make a 1 value

		//bypasses DC when illegal operation is made

		postData(zg_Checksum);			
		postData(dEMI_players);
		postData(zgzx);
		}
		NEW (data_toggle);
		bind dpad_down isDemi;
	
		zgzx = 0x0000;
		unpostData(zg_Checksum);			
		unpostData(dEMI_players);
		unpostData(zgzx);
	}
}