Thread: bind problem
View Single Post
Author Message
KillerElite
Junior Member
Join Date: Aug 2019
Old 08-20-2019 , 03:40   bind problem
Reply With Quote #1

Hello, i want to remove the "in_use" bind from this source or to change the taste E with another (C, V, X, L, K)
Code:
public fw_CmdStart( id, uc_handle, randseed )
{
	if (!g_isConnected[id] || !g_isAlive[id])
		return FMRES_IGNORED

	//new button = pev(id, pev_button)
	new button = get_uc( uc_handle , UC_Buttons );
	new oldbutton = pev(id, pev_oldbuttons)

	if( button & IN_USE && !(oldbutton & IN_USE) && !g_iOwnedEnt[id])
		cmdGrabEnt(id)
	else if( oldbutton & IN_USE && !(button & IN_USE) && g_iOwnedEnt[id])
		cmdStopEnt(id)

	return FMRES_IGNORED;
}
KillerElite is offline