Command to Button
#2

Here...
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	{
		if((oldkeys & KEY_CROUCH) && !(newkeys & KEY_CROUCH))
		{
			// Put your /fix code here...
		}
	}
	return 1;
}
Reply


Messages In This Thread
Command to Button - by MrEnd - 01.04.2012, 23:25
Re: Command to Button - by Catalyst- - 01.04.2012, 23:48
Re: Command to Button - by MrEnd - 01.04.2012, 23:53

Forum Jump:


Users browsing this thread: 1 Guest(s)