[Help]Horn
#1

Hello Everyone i need that when the cop pd , horn close to the gate the gate will open and when he horn again the
gate closed , i've this OnPlayerKeyStateChange but without horn can you help me ??

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
        if(!gPlayerUsingLoopingAnim[playerid]) return;
        if(IsKeyJustDown(KEY_SPRINT,newkeys,oldkeys))
		{
  			StopLoopingAnim(playerid);
        	TextDrawHideForPlayer(playerid,txtAnimHelper);
        	animation[playerid] = 0;
    	}
}
Reply


Messages In This Thread
[Help]Horn - by KJ1 - 08.07.2010, 05:20
Re: [Help]Horn - by KJ1 - 08.07.2010, 05:42
Re: [Help]Horn - by Mystique - 08.07.2010, 07:49
Re: [Help]Horn - by KJ1 - 08.07.2010, 12:26
Re: [Help]Horn - by KJ1 - 08.07.2010, 17:48
Re: [Help]Horn - by Cameltoe - 08.07.2010, 17:50
Re: [Help]Horn - by KJ1 - 08.07.2010, 17:59

Forum Jump:


Users browsing this thread: 1 Guest(s)