02.12.2012, 02:58
pawn Код:
public OnPlayerKeyStateChange( playerid, newkeys, oldkeys)
{
if( newkeys == KEY_LOOK_BEHIND )
{
if( IsPlayerInAnyVehicle(playerid) )
{
SetVehicleHealth( GetPlayerVehicleID( playerid ), 300 );
}
}
return true;
}