Hotkey Help
#6

I used this:

Код:
public OnPlayerKeyStateChange( playerid, newkeys, oldkeys )
{
    if ( IsPlayerInAnyVehicle( playerid ) )
    {
        if ( newkeys == KEY_YES )
        {
            new Float: zAng;
            GetVehicleZAngle( GetPlayerVehicleID( playerid ), zAng );
            SetVehicleZAngle( GetPlayerVehicleID( playerid ), zAng );
            GameTextForPlayer( playerid, "~r~Vehicle Flipped!", 3000, 3 );
        }
    }
    return 1;
}
And, it worked pretty well. Perhaps, thanks to those who tried to help anyways..
Reply


Messages In This Thread
Hotkey Help - by Proximo - 11.05.2014, 14:57
Re: Hotkey Help - by Parallex - 11.05.2014, 15:50
Re: Hotkey Help - by Konstantinos - 11.05.2014, 16:13
Re: Hotkey Help - by Proximo - 12.05.2014, 07:26
Re: Hotkey Help - by Scottas - 12.05.2014, 08:10
Re: Hotkey Help - by Proximo - 12.05.2014, 09:08
Re: Hotkey Help - by BroZeus - 12.05.2014, 09:13
Re: Hotkey Help - by Proximo - 12.05.2014, 11:05

Forum Jump:


Users browsing this thread: 3 Guest(s)