22.02.2012, 21:15
Try this;
pawn Код:
public OnPlayerEnterVehicle( playerid, vehicleid, ispassenger )
{
if( GetPlayerVehicleAccess( playerid, vehicleid ) < 1 && !ispassenger )
{
ClearAnimations(playerid);
return 1;
}
return 1;
}